mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:37

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: 24 Feb 2006, 14:12 
sounds serious? I have no idea :(


Report this post
Top
  
Reply with quote  
PostPosted: 26 Feb 2006, 03:03 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Paul:

> THe script failed and cannot even report the error
> sounds serious? I have no idea

Hi. That error is used when the remote script has crashed, usually due to a PHP, webserver error or a script misconfiguration.

To check it, do the following: try to load the server-side script using your web browser. If, for example, the server-side script is installed in http://www.yoursite.com/osc-old/catalog ... upload.php, just try to open that URL with your web browser. If there is a problem with the PHP script, you will be able to see it.

Please post what you find, Paul.


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: im having the same error
PostPosted: 31 Aug 2006, 17:23 
I realize that this is an old thread , but i was having the same error and i did what you suggested

so far im having trouble with the upload .php file in general ... i was wondering if you could look at my error

<<<BEGIN>>>
Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/bblakeis/public_html/shopping/catalog/oscpm1_upload.php on line 115

Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/bblakeis/public_html/shopping/catalog/oscpm1_upload.php on line 115

Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bblakeis/public_html/shopping/catalog/oscpm1_upload.php on line 115
<<< END>>>>
I know it has something to do with the configure.php .... because i changed this line


// Include osCommerce database configuration and functions.
require("/home/bblakeis/public_html/shopping/admin/includes/configure.php");



and got line 114 to work , and then got to the error on 115.... cant fix it the same way and cant make sense of it
Any help would be appriciated
G


Report this post
Top
  
Reply with quote  
PostPosted: 01 Sep 2006, 11:47 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Gmcdrive:

> I realize that this is an old thread , but i was having the
> same error and i did what you suggested
> so far im having trouble with the upload .php file in general ...
> i was wondering if you could look at my error...
> Warning: main(includes/database_tables.php): failed to
> open stream: No such file or directory in /home/bblakeis/
> public_html/shopping/catalog/oscpm1_upload.php on line 115...

Ok. There are two options.

1) The server-side script has not been installed in the root of the osCommerce store. I think that is not your problem.

2) There is not a file named database_tables.php in the includes directory. This means (usually) that your store is not a plain osCommerce store. It could be a common variant (ZenCart, XT, CRE and others) or a heavily modified custom version.

If you are using a common variant, I may test it so I can check why it is not working. The database_tables.php file have the definitions of the database tables, for example:

Code:
define('TABLE_PRODUCTS', 'products');




Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: 02 Sep 2006, 03:18 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Forgot to add:

Older versions of osCommerce don't have the includes/database_tables.php script file. Please be sure that your version is MS2, not a CVS version of osCommerce.


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group