Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank Admin page


HoefMeistert

Recommended Posts

Just a question, at what level have you installed oscommerce, and at what level have you got the admin? In the config files you posted you show 'admin' as being within the directory 'catalog', but if you've done a local install you may have 'admin' at the same level e.g.

 

root root

| |

Catalog Admin

 

You have it set up, in your config, for root--->catalog---->admin

 

Check this out. Vger :)

Sorry... what do you mean by level of admin ?...

I try differents directrory... in the root level (same level of admin, /admin and /catalog, and also /catalog/admin, with the same result)

 

About the root, I try all levels... with a chmod at 777, etc...

 

try http://69.70.169.236:8080/catalog/

and http://69.70.169.236:8080/catalog/admin/

 

You will see ...

Regards,

 

YM

Link to comment
Share on other sites

  • Replies 50
  • Created
  • Last Reply

Bibi

Does your install work in standard format without the admin access with levels contribution.

Can you access the admin without this contribution installed

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Bibi

Does your install work in standard format without the admin access with levels contribution.

Can you access the admin without this contribution installed

What do you mean by level contribution ?

I never had an access to the admin web page.

 

About the installation, I've just copied the file from the original, create the SQL database manualy (the automatic installation give me error about the SQL database) and modified the configure.php for the catalog and admin directory, am I wrong ???

Regards,

 

YM

Link to comment
Share on other sites

only in that the original post was for admin with levels and that you posted saying that you were having the same problem when in fact it is a different problem and my replies have been based on the fact of having the admin access with levels contribution.

 

I try to help a lot of people in the forum but it is not easy when miss informed as to the true nature of the problem.

 

now that I know the true nature of the problem it makes it far easier to start to resolve the issue.

 

make sure all admin files are uploaded and have the correct permissions, then make sure that all defines and paths are correct in the admin/includes/configure.php

 

I am starting the fault diagnosis from scratch in order to establish the true facts of the situation.

 

is this a windows server or a *nix server

what version of osc is installed

what version of php is used.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

There should be no problem with the materials to hand.

next stage is to make sure that the configure.php files are correct can you post them xxx out the database password

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Bibi

 

I have just managed to replicate your issue on a server I can only access the catalog not the admin until I change the catalog/includes/configure.php as shown,

however this was on a server running php 4.1.2

 

try this trick

 

catalog/includes/configure.php only

 

/* // define our database connection
?define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
?define('DB_SERVER_USERNAME', 'xxxxx');
?define('DB_SERVER_PASSWORD', 'xxxxxxx');
?define('DB_DATABASE', 'xxxxxx');
?define('USE_PCONNECT', 'false'); // use persistent connections?
?define('STORE_SESSIONS', 'mysql'); */

then see if you can get into the admin

 

Let me know if this allows you to access the admin

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

The solution above is an attempt to resolve the issue which may not have anything to do with the database however may in that maybe the settings are wrong for mysql connection in that only one connection can be made at a time or a setting in php.

 

If you do not try then you cannot elliminate the possible

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

did you post the configure.php files

are you willing to try things in order to elliminate others

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

yes, the configure.php files has been sent a few times... I resent it here

The MySQL database works...

 

This is the files :

 

/catalog/includes/configures.php :

  define('HTTP_SERVER', 'http://69.70.169.236:8080');

  define('HTTPS_SERVER', 'https://69.70.169.236:8081');

  define('ENABLE_SSL', false); // secure webserver for checkout procedure?

  define('HTTP_COOKIE_DOMAIN', '69.70.169.236:8080');

  define('HTTPS_COOKIE_DOMAIN', '69.70.169.236:8081');

  define('HTTP_COOKIE_PATH', '/catalog/');

  define('HTTPS_COOKIE_PATH', '/catalog/');

  define('DIR_WS_HTTP_CATALOG', '/catalog/');

  define('DIR_WS_HTTPS_CATALOG', '/catalog/');

  define('DIR_WS_IMAGES', 'images/');

  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

  define('DIR_WS_INCLUDES', 'includes/');

  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

  define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

  define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

  define('DB_SERVER', 'localhost');

  define('DB_SERVER_USERNAME', 'XXXXX');

  define('DB_SERVER_PASSWORD', '');

  define('DB_DATABASE', 'XXXXXX');

  define('USE_PCONNECT', 'false');

  define('STORE_SESSIONS', '');

 

/catalog/includes/admin/configures.php :

  define('HTTP_SERVER', 'http://69.70.169.236:8080');

  define('HTTP_CATALOG_SERVER', 'http://69.70.169.236:8080');

  define('HTTPS_CATALOG_SERVER', 'https:69.70.169.236:8081');

  define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module

  define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/roxen.8080/catalog/');

  define('DIR_WS_ADMIN', '/catalog/admin/');

  define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

  define('DIR_WS_CATALOG', '/catalog/');

  define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT);

  define('DIR_WS_IMAGES', 'images/');

  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

  define('DIR_WS_INCLUDES', 'includes/');

  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

  define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

  define('DB_SERVER', 'localhost');

  define('DB_SERVER_USERNAME', 'XXXXX');

  define('DB_SERVER_PASSWORD', '');

  define('DB_DATABASE', 'XXXXXX');

  define('USE_PCONNECT', 'false');

  define('STORE_SESSIONS', '');

Regards,

 

YM

Link to comment
Share on other sites

So the configure.php files are all right are they???

 

The configure.php files have been sent a few times yet I see only one early post in this thread prior to the post above

 

catalog/includes/configure.php

 

 ?define('HTTP_SERVER', 'http://69.70.169.236:8080');
?define('HTTPS_SERVER', 'https://69.70.169.236:8081');
?define('ENABLE_SSL', false); // secure webserver for checkout procedure?
?define('HTTP_COOKIE_DOMAIN', '69.70.169.236:8080');
?define('HTTPS_COOKIE_DOMAIN', '69.70.169.236:8081');
?define('HTTP_COOKIE_PATH', '/catalog/');
?define('HTTPS_COOKIE_PATH', '/catalog/');
?define('DIR_WS_HTTP_CATALOG', '/catalog/');
?define('DIR_WS_HTTPS_CATALOG', '/catalog/');
?define('DIR_WS_IMAGES', 'images/');
?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
?define('DIR_WS_INCLUDES', 'includes/');
?define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
?define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
?define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
?define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
?define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

?define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
?define('DIR_FS_CATALOG', '/home/httpd/roxen.8080/catalog/');
?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
?define('DB_SERVER', 'localhost');
?define('DB_SERVER_USERNAME', 'XXXXX');
?define('DB_SERVER_PASSWORD', '');
?define('DB_DATABASE', 'XXXXXX');
?define('USE_PCONNECT', 'false');
?define('STORE_SESSIONS', 'mysql');

 

admin/includes/configure.php

 

 define('HTTP_SERVER', 'http://69.70.169.236:8080');
?define('HTTP_CATALOG_SERVER', 'http://69.70.169.236:8080');
?define('HTTPS_CATALOG_SERVER', 'https:69.70.169.236:8081');
?define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module
?define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/roxen.8080/catalog/');
?define('DIR_WS_ADMIN', '/catalog/admin/');
?define('DIR_FS_ADMIN', '/home/httpd/roxen.8080/catalog/admin/');
?define('DIR_WS_CATALOG', '/catalog/');
?define('DIR_FS_CATALOG', '/home/httpd/roxen.8080/catalog/');
?define('DIR_WS_IMAGES', 'images/');
?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
?define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
?define('DIR_WS_INCLUDES', 'includes/');
?define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
?define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
?define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
?define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
?define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
?define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
?define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
?define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
?define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
?define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
?define('DB_SERVER', 'localhost');
?define('DB_SERVER_USERNAME', 'XXXXX');
?define('DB_SERVER_PASSWORD', '');
?define('DB_DATABASE', 'XXXXXX');
?define('USE_PCONNECT', 'false');
?define('STORE_SESSIONS', 'mysql');

 

 

your FS_ADMIN path resolved to '/home/httpd/roxen.8080/catalog/catalog/admin/'

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

So the configure.php files are all right are they???

 

The configure.php files have been sent a few times yet I see only one early post in this thread prior to the post above

 

(...)

 

your FS_ADMIN path resolved to '/home/httpd/roxen.8080/catalog/catalog/admin/'

Could you explain ? I've tryied a lot of possibilities... add path, erase, etc... but the white screen didin't help every time ! :blink:

Regards,

 

YM

Link to comment
Share on other sites

this is what you post

 

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/roxen.8080/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

 

the define for FS_ADMIN is using the FS_DOCUMENT_ROOT + WS_ADMIN this gives /home/httpd/roxen.8080/catalog/ + /catalog/admin/ which gives in turn

/home/httpd/roxen.8080/catalog//catalog/admin/

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

What are the settings of php is debug on, do you have access to php.ini

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

this is what you post

 

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/roxen.8080/catalog/');
?define('DIR_WS_ADMIN', '/catalog/admin/');
?define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

 

the define for FS_ADMIN is using the FS_DOCUMENT_ROOT + WS_ADMIN this gives /home/httpd/roxen.8080/catalog/ + /catalog/admin/ which gives in turn

/home/httpd/roxen.8080/catalog//catalog/admin/

... it is in the case if I use variables... and like you see, I don't !

Regards,

 

YM

Link to comment
Share on other sites

You might check the Apache error log and see what the error is.

I don't use apache, I use Roxen (see old messages), and in the log, nothing is bad about php... If the web page could check the errors, it will be better...

Regards,

 

YM

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

I had the same problem. Started with a fresh osCommerce 2.2 Milestone. Did the install of Administration Access Level Accounts 2.0 (5 Sep 2003 - Admin 2.3). And got a blank screen.

 

The problem: Administration Access Level Accounts 2.0 (5 Sep 2003 - Admin 2.3) is not a full install (not all the files are in there)

 

Solution: install Administration Access Level Accounts 2.0 (11 Aug 2003 - 2.2) which is a full install and overwrite with the files in Administration Access Level Accounts 2.0 (5 Sep 2003 - Admin 2.3)

 

Now everything should be working as required.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...