Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin/index.php is blank after install?


Cataldomedia

Recommended Posts

Posted

Hello,

I just installed osCommerce to my site, and everything went smoothly with the installation process (as far as I can tell), except when I navigate to the admin/index.php to go ahead and start editing things, all I get is a blank page? No images or text of any kind, no error messages, simply a blank page.

 

A clue or suggestion of how to proceed would be greatly appreciated.

Posted
...except when I navigate to the admin/index.php to go ahead and start editing things, all I get is a blank page? No images or text of any kind, no error messages, simply a blank page.

A clue or suggestion of how to proceed would be greatly appreciated.

I assume you can browse OK to the site's landing page, just index.php rather than admin/index.php ?

Can you verify that the file admin/index.php is loaded in the correct place and that admin is in the root directory of your web server?

Posted
I assume you can browse OK to the site's landing page, just index.php rather than admin/index.php ?

Can you verify that the file admin/index.php is loaded in the correct place and that admin is in the root directory of your web server?

 

 

Thank you for the quick response!

 

Yes, the default landing page at index.php does open up without difficulty.

My admin directory is within the catalog dir - this is the complete path to be precise: http://www.xxxxxxxx.com/catalog/admin/index.php

 

I left the structure at its default - I assume this was right?

Posted

In addition to the catalog/includes/configure.php file you have also have catalog/admin/includes/configure.php file - the error will be in that file.

 

Vger

Posted

The only time I have seen oscommerce show a blank page is with a template that the template maker has stripped out the waring and error codes.

 

Is this a template?

 

 

Thank you for the quick response!

 

Yes, the default landing page at index.php does open up without difficulty.

My admin directory is within the catalog dir - this is the complete path to be precise: http://www.xxxxxxxx.com/catalog/admin/index.php

 

I left the structure at its default - I assume this was right?

Posted

Hello again, and thanks for the replies!

 

I have checked the configure.php in both catalogue/includes and admin/includes... as far as I can tell all my information is quite correct.. there is one field that is empty and I am unsure of what it requires: define('HTTPS_CATALOG_SERVER', '');

 

What server would this be? the line above that (simply HTTP_CATALOG_SERVER) has my server info, but this line was left blank..

 

 

No, I am not working from a template - I never got that far :blush: - everything should be at absolute default, as I can't get to any administration panel.. just that blank page for index.php.. hmmm

 

I've gone over all my settings.. I currently have SSL disabled in my configure.php - could that be the source of trouble? Somehow I don't think so.. but I am currently at a loss

Posted

Hello,

I just did my first install today and had the same problem.

 

Turns out by chmod'ing the config.php (iI think this was the one, or configure.php, I cant quite remember WHAT file it was) to like 770 or 777 fixed it.

 

Then i tested it.

Tried 604, 700, 777, 770, and SOME of those permissions caused the "blank" page you described.

 

A chmod to the correct permissions fixed it for me.

 

Jesse

Posted
Hello,

I just did my first install today and had the same problem.

 

Turns out by chmod'ing the config.php (iI think this was the one, or configure.php, I cant quite remember WHAT file it was) to like 770 or 777 fixed it.

 

Then i tested it.

Tried 604, 700, 777, 770, and SOME of those permissions caused the "blank" page you described.

 

A chmod to the correct permissions fixed it for me.

 

Jesse

 

 

Thanks for the suggestion!

Hmmm... those chmod commands are for linux servers I believe? My host is a windows server, so I do not think I have that particular option...

 

Still at a loss here.. its quite frustrating, as the install seems to have been successful in every other respect.. the default osCommerce page loads up without problem, and it seems that all the features at their default settings are fully functional.. I just can't get into my administration panel! :(

Posted
Hello,

I just installed osCommerce to my site, and everything went smoothly with the installation process (as far as I can tell), except when I navigate to the admin/index.php to go ahead and start editing things, all I get is a blank page? No images or text of any kind, no error messages, simply a blank page.

 

A clue or suggestion of how to proceed would be greatly appreciated.

 

I have the same problem but on a redhat linux server that runs apache... Tried cmod'ing admin/includes/configure.php to all kind of different modes but nothing helped.

  • 4 weeks later...
Posted

I just went through the same problem. I am also on a Windows Server. It also helps when installing to turn on display errors in your php.ini file. My problem was within the configure.php files in includes and admin/includes. The install set the file as:

 

define('DIR_FS_CATALOG', 'C:\Inetpub\wwwroot\catalog\');

 

And I just went in and escaped all the \ such as:

 

define('DIR_FS_CATALOG', 'C:\\Inetpub\\wwwroot\\catalog\\');

 

Take a look at all the variables that require absolute paths, not just the one above, and see if that may be your issue.

Archived

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

×
×
  • Create New...