Jump to content

Archived

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

ivan8r

Can't access admin. Blank page.

Recommended Posts

I just finished installing 2.2ms1, and I can't seem to gain access to my admin. I have installed this successfully before on the same server, so that makes this hard to understand since I didn't do anything different from my first install. I am able to access my catalog, but I get a blank screen for admin. No errors... just a white screen.

 

Did I do something wrong?

Share this post


Link to post
Share on other sites

I have the same problem just after installation it was working fine and then three days later the admin went blank


core 2 extreme x7800[/url]

Cerebral palsy

KFC Israel

Share this post


Link to post
Share on other sites

My admin page is blank also. Does anyone know how to fix this? I just moved from a shared host to a virtual dedicated server with Plesk. Could this be because of my admin/configure.php? Is the following right?

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://cootersautomanuals.com'); // eg, http://localhost - should not be empty for productive servers

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

define('HTTPS_CATALOG_SERVER', 'https://cootersautomanuals.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/cootersautomanuals.com/httpdocs/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/httpd/vhosts/cootersautomanuals.com/httpdocs/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', /home/httpd/vhosts/cootersautomanuals.com/httpdocs/catalog/'); // absolute path required

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/');

Share this post


Link to post
Share on other sites

Shelby replace your whole config file with this one (remember to input databse info at bottom) and see if it works.

 

<?php

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

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

define('HTTPS_CATALOG_SERVER', 'http://cootersautomanuals.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/cootersautomanuals.com/httpdocs/catalog/');

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

define('DIR_FS_ADMIN', '/home/httpd/vhosts/cootersautomanuals.com/httpdocs/catalog/admin/');

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

define('DIR_FS_CATALOG', '/home/httpd/vhosts/cootersautomanuals.com/httpdocs/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('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'DATABASE-USERNAME-HERE');

define('DB_SERVER_PASSWORD', 'PASSWORD-HERE');

define('DB_DATABASE', 'DATABASE-NAME-HERE');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>


I didnt have any freakin links in my sig!!! Pm me for help any other things ;-) There!

Share this post


Link to post
Share on other sites
Shelby replace your whole config file with this one (remember to input databse info at bottom) and see if it works.

 

 

It still shows a blank white page. Maybe it's not the admin/configure.php. Is there anything else it could be?

Share this post


Link to post
Share on other sites

I got the same problem...

 

The interesting part is that it displays correctly on my computer and on others I've tested, but on my client's computer shows just a blank page! I've asked him to check also on other computers, from cybercaffes, and on one of them got the same problem, and on the other displayed correctly. But of course I have to get it to work on his computer...

 

He called his ISP, they also couldn't see the admin page, but they said it's not their fault either.

 

Any suggestions? Thanks

Share this post


Link to post
Share on other sites

Got it!

 

At least in my case this worked. Maybe it can be useful to others.

 

First of all you have to enable error reporting in .htacces .You have to add these two lines at the end of the file:

 

php_flag display_errors on
php_value error_reporting 7

 

After uploading the file to your server, instead of a blank page, you sould see the error code that prevents your page from displaying.

 

In my case the error was:

 

Warning: main(includes/languages/french.php) [function.main]: failed to open stream: No such file or directory in /home/dreams/public_html/admin/includes/application_top.php on line 130

Fatal error: main() [function.require]: Failed opening required 'includes/languages/french.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dreams/public_html/admin/includes/application_top.php on line 130

 

This error being caused by my client's computer trying to load the french version of the admin panel, version that wasn't present. So I've duplicated the english version (admin/includes/languages) and renamed it "french". And now everything works fine!

 

Thanks to HostVision.ro for the help provided!

Share this post


Link to post
Share on other sites

Hi

I too have a blank page when I try to log in to my admin page.... Have tried all the suggestions on this page, but nothing is working so far. Is anyone able to suggest something else I can try?

 

Thanks

Anthony

Share this post


Link to post
Share on other sites

Im having a blank page type of problem as well, but its on the Fourth step of the installation/configuring process. Its able to communicate with the DB fine too in the beginning 1 & 2 step of the installation/configure process. When i try to access the admin directory it gives me a "Unable to connect to database server!".

 

 

 

Hi

I too have a blank page when I try to log in to my admin page.... Have tried all the suggestions on this page, but nothing is working so far. Is anyone able to suggest something else I can try?

 

Thanks

Anthony

Share this post


Link to post
Share on other sites

1146 - Table 'db226585290.administrators' doesn't exist

 

select id from administrators limit 1

 

[TEP STOP]

 

 

in admin i have got this message plz help me

Share this post


Link to post
Share on other sites

May I join the blank admin page club?

 

The french thing did not work for me (verified permissions etc)

 

Just wondering, are you guys being hosted on an HSPHERE system?

Share this post


Link to post
Share on other sites

May I join the blank admin page club?

 

The french thing did not work for me (verified permissions etc)

 

Just wondering, are you guys being hosted on an HSPHERE system?

Share this post


Link to post
Share on other sites
May I join the blank admin page club?

 

The french thing did not work for me (verified permissions etc)

 

Just wondering, are you guys being hosted on an HSPHERE system?

I'm having the same issue and now I can't even bring up my clients osCommerce site. I am using BlueGenesis hosting and the phpMyAdmin can't find the database as well.

www.pinelandsspecialtystore.com/osCommerce

Share this post


Link to post
Share on other sites

i have a same problem.

 

[Mon Dec 10 23:30:40 2007] [error] [client 86.104.244.196] PHP Warning: require(/var/www/html/osc/catalog/admin/includes/configure.php) [<a href='function.require'>function.require</a>]: failed to open stream: Permission denied in /var/www/html/osc/catalog/admin/includes/application_top.php on line 28

[Mon Dec 10 23:30:40 2007] [error] [client 86.104.244.196] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/html/osc/catalog/admin/includes/configure.php' (include_path='.:/usr/share/pear') in /var/www/html/osc/catalog/admin/includes/application_top.php on line 28

 

Thank you

Share this post


Link to post
Share on other sites
i have a same problem.

 

[Mon Dec 10 23:30:40 2007] [error] [client 86.104.244.196] PHP Warning: require(/var/www/html/osc/catalog/admin/includes/configure.php) [<a href='function.require'>function.require</a>]: failed to open stream: Permission denied in /var/www/html/osc/catalog/admin/includes/application_top.php on line 28

[Mon Dec 10 23:30:40 2007] [error] [client 86.104.244.196] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/html/osc/catalog/admin/includes/configure.php' (include_path='.:/usr/share/pear') in /var/www/html/osc/catalog/admin/includes/application_top.php on line 28

 

Thank you

 

I figured this part out by reading line 28 in application_top.php. The line: require('includes/configure.php'); is the wrong path to the file. It's located in catalog/includes/ not admin/includes.

Share this post


Link to post
Share on other sites

Newest member of the Blank Admin Page Club here. All I've got to show for an attempt to access /admin/index.php on my site is the following entry in my Apache Error logs:

 

PHP Fatal error: Cannot re-assign $this in /admin/includes/classes/upload.php on line 31

Share this post


Link to post
Share on other sites
Newest member of the Blank Admin Page Club here. All I've got to show for an attempt to access /admin/index.php on my site is the following entry in my Apache Error logs:

 

PHP Fatal error: Cannot re-assign $this in /admin/includes/classes/upload.php on line 31

 

 

try commenting out that line:

 

// $this = null;

Share this post


Link to post
Share on other sites

I have spent my whole day trying to figure out my problem with my Admin folder. My hosting company, Dot 5 hosting, has just switched me to their new platform, but they say my problem is with the OSCommerce files.

 

I can type in the path to my admin and my login box will appear and I can successfully login. HOwever, when I click on Catalog, or any other links, it pulls up Windows cannot display page. I have tried to manipulate my catalog/admin/includes/configure.php but nothing has worked!

 

Does anybody else have this problem or know what file could be causing this. I have read almost every forum about the admin and I'm still not able to figure it out. I'm so frustrated I'm about to delete OsCommerce and reinstall!!!! Please help!!!

Share this post


Link to post
Share on other sites
I have spent my whole day trying to figure out my problem with my Admin folder. My hosting company, Dot 5 hosting, has just switched me to their new platform, but they say my problem is with the OSCommerce files.

 

I can type in the path to my admin and my login box will appear and I can successfully login. HOwever, when I click on Catalog, or any other links, it pulls up Windows cannot display page. I have tried to manipulate my catalog/admin/includes/configure.php but nothing has worked!

 

Does anybody else have this problem or know what file could be causing this. I have read almost every forum about the admin and I'm still not able to figure it out. I'm so frustrated I'm about to delete OsCommerce and reinstall!!!! Please help!!!

 

I had the same problem "Blanks Admin pages" and reinstalling all was the solution but taking care about file types...

 

You must upload php files IN ascii mode NOT in binary mode.

 

My FTP software has an automatic mode but in configuration I must set ascii mode to the correct file extensions (.php .txt .htm .html .js .css)

 

That's all ;) !!

 

My thanks to all the osCommerce Comunity, Great Software !!

Share this post


Link to post
Share on other sites
I just finished installing 2.2ms1, and I can't seem to gain access to my admin. I have installed this successfully before on the same server, so that makes this hard to understand since I didn't do anything different from my first install. I am able to access my catalog, but I get a blank screen for admin. No errors... just a white screen.

 

Did I do something wrong?

Share this post


Link to post
Share on other sites

The admin blank page comes from not having your language files in /admin/include/languages/... If you have just set a new default language please make sure that you have the necessary files there. If not change the default language from the database...hope it helps

Share this post


Link to post
Share on other sites

For some reason when i try to enter the admin part it redirects me to the hosts control panel?

 

Here is my configure.php info

 

<?php

define('HTTP_SERVER', 'http://www.green-as-grass.co.uk');

define('HTTPS_SERVER', 'http://www.green-as-grass.co.uk');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.green-as-grass.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'www.green-as-grass.co.uk');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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', '/var/www/html/');

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '*****');

define('DB_SERVER_PASSWORD', '*******');

define('DB_DATABASE', '******************');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

Have no idea what is wrong, any help appreciated

Share this post


Link to post
Share on other sites

×