Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

random error


Guest

Recommended Posts

Posted

Hi friends , imagine a random php error that occurs every 10/20 views both in admin and shop, that no one has thus far solved , had a couple of php heavies takea look and they have not been able to crack it , is this a web hosting issue ? or a php thing , it also occurs on other php auto installs on cpanel . Can anyone help here , expect huge kudos and praise if you can . thanks.

 

here is the error.

 

Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0

 

Warning: Failed opening '/home/lout1/public_html/index.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

Posted

Is your main shop page now called index.php rather than default.php?

 

And did you change this code manually or edit the file name definition in application_top.php from default.php to index.php?

 

Do you have any helpful .htaccess files that might be confusing the redirects or anything of that nature?

Posted

Thanks for helping Linda

 

Is your main shop page now called index.php rather than default.php? the shop address is www.mysite.com/shop , no sign of default.php or index.php

 

 

 

And did you change this code manually or edit the file name definition in application_top.php from default.php to index.php?

 

this was an auto install on a cpanel couple of clicks feature no maunual alterations on my part.

 

"Do you have any helpful .htaccess files that might be confusing the redirects or anything of that nature?"

 

 

what would I look for here and where ?

 

thanks

 

 

 

[/i]

Posted

Do you know what the version or snapshot that you have loaded might be?

 

The .htaccess files you should be able to see in your File Manager of Cpanel and they more or less handle redirects.

 

Have you checked with your hosting company about the issues you are experiencing?

Posted

Hi,

 

I've also experience something similar to this previously, cannot remember the exact details (it relates to include the configure.php file) and my site was down due to this.

 

When it happen I just contact my web hosting provider which they acknowledged it as their problem and they have it solved later after a few hours. I do not know the cause of it since I did not bother to find it out.

 

Whatever it is, do contact your web hosting provider about your problem, maybe they can solve it for you.

 

Regards,

Jalil

Please give your rating on OSCommerce at FreebiesCafe.com, a search directory for free scripts, software, services and resources.

Archived

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

×
×
  • Create New...