Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Error while importing database


Recommended Posts

I get to the screen where it says "A test connection made to the database was successful."


Then I click Continue.


After a few seconds on new screen loads with the following error

"Fatal error: Maximum execution time exceeded in includes/functions/database.php on line 161"

Link to comment
Share on other sites

I tried hitting the back button and clicking Continue again, multiple times.


Every time I get the same error, with a random line # (161, 171, 193, etc).

Link to comment
Share on other sites

The problem was the PHP files were being executed in PHP 3, not 4.


I added a .htacces file to the install directory, with the following:


AddType application/x-httpd-php4 .php

Action application/x-httpd-php4 "/cgi-bin/php"


and it imported. Yeeeeeeeeeeha!


Would it be a good idea to add that to the root directory of the catalog? Wouldn't it be preferably for all the oscommerce files to execute in PHP 4 over PHP 3?

Link to comment
Share on other sites


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

  • Create New...