Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin problems


krisandjas

Recommended Posts

Hi, I am relatively new here and need your help! :'(

 

 

 

Recently I downloaded the latest OSC, configured it, changed the designs and have absolutely NO problems with it! :rolleyes:

 

 

 

Then I did something silly, I purchased an older version of oscommerce to populate a second domain of mine. :blush:

 

 

 

The purchased copy was pre-designed and was pre-populated with products-books. The store itself functions well, but the admin area is a big headache!

 

 

 

I have looked through dozens of the messages in the forum but have found nothing that I believe can help me. :blink:

 

 

 

My problems are threefold, three different areas where errors are shown at the top in that much feared pink background!

 

 

 

1.) under my catalog… the /images directory does not exist,

 

2.) under database backup… the backups directory does not exist and

 

3.) under change colors… the directory/file stylesheet.css does not exist!

 

 

 

Rest assured, all exist and the permissions for the stylesheet are currently = 777.

 

 

 

First thoughts - the config.php ( under admin includes ) was not set up correctly by me.

 

 

 

Here everything seems perfect ( as can be seen below ).

 

 

 

Relentlessly I sought on and lo and behold, I paid attention to the following details when trying to edit the colors: :lol:

 

 

 

------------------------------------------------------------------------------------------------

 

 

 

Error: I can not write to this file. Please set the right user permissions on: /home/worldproject2100.com/public_html/stylesheet.css

 

 

 

 

 

Warning: file(/home/worldproject2100.com/public_html/stylesheet.css) [function.file]: failed to open stream: No such file or directory in /home/wpcom/public_html/admin/file_manager.php on line 140

 

 

 

 

File Manager

/home/worldproject2100.com/public_html

 

 

Filename:

 

stylesheet.css

 

 

 

 

Please notice above, the 2 different paths in the Warning lines in the middle!

 

 

 

While a search with an explorer for ‘ No such file or directory ‘ shows no result, I deduct that the string itself is in the sql database !?!?

 

 

 

The second path mentioned here is wrong and must also have been be put together somewhere in the sources!

 

 

 

Then, wpcom is the firstpart of the database name ‘ wpcom_store.db ‘ as can be seen in the excerpt from the config.php below:

 

 

 

 

 

define('DB_DATABASE', 'wpcom_store'); // replace username with your web server username

 

 

 

define('DIR_FS_ADMIN', '/home/worldproject2100.com/public_html/admin/'); // replace username with your web server username

 

define('DIR_FS_CATALOG', '/home/worldproject2100.com/public_html/');

 

define('DIR_FS_DOCUMENT_ROOT', '/home/worldproject2100.com/public_html');

 

define('SITE', 'www.worldproject2100.com');

 

define('WWW', 'http://www.worldproject2100.com');

 

define('HTTP_SERVER', 'http://www.worldproject2100.com');

 

define('HTTP_CATALOG_SERVER', 'http://www.worldproject2100.com');

 

 

 

 

 

 

 

As far as I understand the sources, the file_manager.php assigns the

 

define('DIR_FS_DOCUMENT_ROOT', '/home/worldproject2100.com/public_html');

 

to $current_path

 

 

 

and not to /home/wpcom/public_html ;)

 

 

 

I believe that the above mis-assignment could be the root of the problems

 

 

 

Does anybody know where this problem could be eradicated ( and thus, possibly all three with one stroke of the sword ), I’m at my end. :huh:

 

 

 

If somebody would like to see for themselves, remember, it’s being designed, so the store hides behind scenes at :

 

 

 

worldproject2100.com/index.php

 

 

 

( if you go to worldproject2100.com itself, you’ll only be greeted by a genie! ), :-

 

 

 

and the admin itself is to be seen at

 

 

 

worldproject2100.com/admin

 

 

 

I would be grateful for any advice and would like to express my thanks in advance

 

 

 

 

 

Krisandjas

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...