Jump to content

Error after i updated a currency to my shop


waqasalmas

Recommended Posts

Hello,

 

I have been using prestashop for a while now and it works fine...

Yesterday i just tried to add one more currency as i am adding skrill as a payment menthod to my website..

 

I am getting this error....

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\store181.com\httpdocs/themes/default/modules/blocksearch/C:\Inetpub\vhosts\store181.com\httpdocs/modules/blocksearch/blocksearch-top.tpl) is not within the allowed path(s): (C:/Inetpub/vhosts/store181.com\;C:\windows\Temp\) in C:\Inetpub\vhosts\store181.com\httpdocs\classes\Tools.php on line 1552

 

I have tried to find a soultion but unable to as yet...

 

Please help its urgent!

Link to comment
Share on other sites

It is trying to open a file located at...

C:\Inetpub\vhosts\store181.com\httpdocs/themes/default/modules/blocksearch/C:\Inetpub\vhosts\store181.com\httpdocs/modules/blocksearch/blocksearch-top.tpl

If you look more closely, that file path is actually 2 files, I have split them to show you. 

C:\Inetpub\vhosts\store181.com\httpdocs/themes/default/modules/blocksearch/

C:\Inetpub\vhosts\store181.com\httpdocs/modules/blocksearch/blocksearch-top.tpl

 

But instead of them being separate files, something in your store has merged them into a single file path, which is obviously not a valid file.  Therefore your get an error opening the file

Link to comment
Share on other sites

Precisely, yes!

I have been trying to sort it out since morning but no luck as yet.

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\store181.com\httpdocs/themes/default/modules/blocksearch/C:\Inetpub\vhosts\store181.com\httpdocs/modules/blocksearch/blocksearch-top.tpl) is not within the allowed path(s): (C:/Inetpub/vhosts/store181.com\;C:\windows\Temp\) in C:\Inetpub\vhosts\store181.com\httpdocs\classes\Tools.php on line 1552

 

Why am i directed to "C:\Inetpub\vhosts\store181.com\httpdocs\classes\Tools.php on line 1552"???

 

Means there is some problem in this file? How do i find the exact line number 1552 in the phy file?

Any help would be really appreciated!

Link to comment
Share on other sites

I assume everything continues to work fine, you only encounter this issue when you add a new currency, which I assume you do not do everyday, or perhaps never have done before.

 

I am also going to assume based on your responses so far, that you are not fluent in PHP coding and therefore I would suggest you should hire a professional. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...