Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

I need help!


5 replies to this topic

#1 JaciD

  • Community Member
  • 56 posts
  • Real Name:Deborah
  • Gender:Female
  • Location:USA

Posted 29 October 2009, 20:35

Hello, I am a newbie to OS and have tried and tried to understand how to
do things in OS I even had someone with web design knowledge try to help
me. They can do the css part. I have no problems with adding product and
details. But I guess I need your help with the next step. Where can I find
someone to setup OS correctly and help design it with me or hire someone
to do it completely.

I have read and read posts, trying to figure it out. Yesterday I was trying to rename
admin for security reasons per posts. Well something happened, now I'm locked out
of login with another error code. (The requested URL /Store/admin/login.php was
not found on this server. Additionally, a 404 Not Found error was encountered while
trying to use an ErrorDocument to handle the request.) I have no idea where to go from here.

So please advise me what I can do to fix this or to find someone that can be trusted.

Thanks for you consideration.

#2 web-project

  • Community Member
  • 4,310 posts
  • Real Name:Alex
  • Gender:Male
  • Location:Hertfordshire, UK

Posted 29 October 2009, 21:32

I think the best way to learn oscommerce will be to read the book about oscommerce or find in the internet a lot of manuals & "how-to" articles.
Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!
8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.
Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.
Any issues with oscommerce, I am here to help you.

#3 kuai

  • Community Member
  • 113 posts
  • Real Name:kuai
  • Gender:Male
  • Location:U.S.A.

Posted 02 November 2009, 16:00

View PostJaciD, on 29 October 2009, 20:35, said:

Hello, I am a newbie to OS and have tried and tried to understand how to
do things in OS I even had someone with web design knowledge try to help
me. They can do the css part. I have no problems with adding product and
details. But I guess I need your help with the next step. Where can I find
someone to setup OS correctly and help design it with me or hire someone
to do it completely.

I have read and read posts, trying to figure it out. Yesterday I was trying to rename
admin for security reasons per posts. Well something happened, now I'm locked out
of login with another error code. (The requested URL /Store/admin/login.php was
not found on this server. Additionally, a 404 Not Found error was encountered while
trying to use an ErrorDocument to handle the request.) I have no idea where to go from here.

So please advise me what I can do to fix this or to find someone that can be trusted.


Thanks for you consideration.

Hi,
After you rename the admin directory, you will have to change two lines in the renamed_admin_directory/includes/configure.php:

define('DIR_WS_ADMIN', '/renamed_admin_directory/');
define('DIR_FS_ADMIN', '/your/path/to/directory/renamed_admin_directory/');

Kuai

Edited by kuai, 02 November 2009, 16:01.


#4 newtech

  • Community Member
  • 491 posts
  • Real Name:Rich
  • Gender:Male
  • Location:Seattle, WA

Posted 15 November 2009, 00:41

I have changed the folder name of my admin folder. Everything is working fine until I click 'Confirm Order'. The order goes through fine, but the sending of email invocie is not working because it shows the wrong path.

Here is the error:
PHP Warning: require(/html/admin/includes/languages/english/invoice.php) [function.require]: failed to open stream: No such file or directory in /html/includes/modules/email_invoice/email_invoice.php on line 30, referer: https://www.domain.com/checkout_confirmation.php

The path above to the admin folder is showing the old folder name of admin.

I have done the following in newadminfolder/includes/configure.php so why is the path above showing admin instead of newadminfolder?
define('DIR_WS_ADMIN', '/newadminfolder/'); // absolute path required
define('DIR_FS_ADMIN', '/newadminfolder/'); // absolute pate required
define('DIR_WS_HTTPS_ADMIN', '/var/www/public_html/ahaplace/html/newadminfolder/');

Here is what is strange:
I can keep the above settings in configure.php and change the admin folder name back to admin and then everything works fine. That is telling me that email_invoice.php is not looking at the configure.php file for the path even though the code in email_invoice.php shows it should:
require(DIR_FS_ADMIN . "/" . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

#5 GemRock

  • Community Member
  • 2,069 posts
  • Real Name:Ken
  • Gender:Male
  • Location:UK

Posted 15 November 2009, 15:56

by the look of it, it refers to the store webroot so you will need to update the changed admin folder name in [catalog]/includes/configure.php (not just the one in admin), or perhaps the one in [catalog]/includes/local/

or, if thats the only problem, why not just copy the invoice.php language file to the folder it is complaining about missing.

Ken

Edited by GemRock, 15 November 2009, 15:59.

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).
over 20 years of computer programming experience.

#6 newtech

  • Community Member
  • 491 posts
  • Real Name:Rich
  • Gender:Male
  • Location:Seattle, WA

Posted 15 November 2009, 16:58

It was the in [catalog]/includes/local/ that needed to be changed.