mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

THe script failed and cannot even report the error
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=12&t=284
Page 1 of 1

Author:  Paul [ 24 Feb 2006, 14:12 ]
Post subject:  THe script failed and cannot even report the error

sounds serious? I have no idea :(

Author:  mvaldez [ 26 Feb 2006, 03:03 ]
Post subject:  Error 200... unknown error...

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.

Author:  Gmcdrive [ 31 Aug 2006, 17:23 ]
Post subject:  im having the same error

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

Author:  mvaldez [ 01 Sep 2006, 11:47 ]
Post subject:  Maybe it is not osCommerce, but a variant...

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.

Author:  mvaldez [ 02 Sep 2006, 03:18 ]
Post subject:  Or maybe it is an old version...

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.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/