Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie error error error ???


ironil

Recommended Posts

I am using php 4.3 and mysql 4. And I get following error if I call the admin page:

 

1.

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

 

2.

Warning: main(//catalog/includes/data/rates.php) [function.main]: failed to create stream: No such file or directory in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

3.

Warning: main() [function.main]: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.:/usr/local/lib/php') in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

4.

Warning: main(includes/languages/english/) [function.main]: failed to create stream: No such file or directory in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

5.

Warning: main() [function.main]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/lib/php') in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

Link to comment
Share on other sites

I am using php 4.3 and mysql 4. And I get following error if I call the admin page:

 

1.

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

 

2.

Warning: main(//catalog/includes/data/rates.php) [function.main]: failed to create stream: No such file or directory in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

3.

Warning: main() [function.main]: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.:/usr/local/lib/php') in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

4.

Warning: main(includes/languages/english/) [function.main]: failed to create stream: No such file or directory in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

5.

Warning: main() [function.main]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/lib/php') in /Library/WebServer/Documents/admin/includes/include_once.php on line 4

 

Hello,

 

You need to check your configure.php file in your admin directory. You have an extra traling slash somewhere. you can see that by the following

main(//catalog/includes/

Do you see the extra slash at the begining? I would assume that is because you are calling directories in your file with a begining slash.

 

HTH

Kindest Regards,

 

Carl Pickering

 

If there is light at the end of the tunnel, switch it off. I have to save on my electricity bill

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...