Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can't login into admin index.php page after install


okr

Recommended Posts

I recently successfully installed oscommerce 2.2 milestone 2 on my isp's server. The demo store page opens fine but I am unable to load the administration tool. When I try to, I get this error, (I took out the some names here for security reasons of course).

 

"Fatal error: Failed opening required 'includes/application_top.php' (include_path='./:/usr/local/lib/php') in /home/mysite/databasename-www/catalog/admin/index.php on line 13"

 

Is this a permissions error?

When I try to open the admin/includes/ directory I get a message saying the access is denied.

 

On the last step of the install (when it said installation successful) I also got these three errors...

 

Warning: fopen("/home/mysite/databasename-www/catalog/admin/includes/configure.php", "w") - Permission denied in /home/success/databasename-www/catalog/install/templates/pages/install_7.php on line 259

 

Warning: fputs(): supplied argument is not a valid File-Handle resource in /home/mysite/databasename-www/catalog/install/templates/pages/install_7.php on line 260

 

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/mysite/databasename-www/catalog/install/templates/pages/install_7.php on line 261

 

I followed the install steps in the oscommerce wiki so I believe all my permission settings are correct, I don't get any errors when I load the demo store page, BTW.

 

Thanks in advance.

Link to comment
Share on other sites

It looks like your installation failed to write out the admin/includes/configure.php file!

  • ; if necessary, set it to 777 (read/write/execute for all)

[*]Re-run the installation script without importing the data into the database

[*]Check that both includes/configure.php and admin/includes/configure.php have similar settings

[*]Check that Admin nows runs OK

[*]Set permissions on both your configure.php files to read-only

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...