Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

error warning

  • Maestronumous
  • Maestronumous's Avatar Topic Author
  • Offline
  • New Member
More
17 years 3 weeks ago #9156 by Maestronumous
error warning was created by Maestronumous
Hi there,

I have made a backup of my site and uploaded it to another server.
After this i get the following warning:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/images/stories/thumb/1518da23d043d08518ecb4b653321049jpg) is not within the allowed path(s): (/var/www/html/web945:/tmp) in /var/www/html/web945/html/shop/mambots/content/plugin_jw_sigpro.php on line 285

you can see the effect here:

www.test.dutchberserks.com/shop/index.php?page=shop.product_details&flypage=shop.flypage&product_id=8&category_id=3&manufacturer_id=0&option=com_virtuemart&Itemid=26

The gallery works fine, it just shows the error message.

Any ideas how to fix this?

Thx in advance

Greetz Maestronumous.


p.s. Overall very pleased with this gallery ;)

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 2 weeks ago #9157 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error warning
Hi my friend!

About the "open_basedir restriction in effect" warning try the solution told here

Hope work for you!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Maestronumous
  • Maestronumous's Avatar Topic Author
  • Offline
  • New Member
More
17 years 2 weeks ago #9158 by Maestronumous
Replied by Maestronumous on topic Re: error warning
Hey Vinikey,

I replaced the code but this had no effect...
Any other ideas?

Thanks and greetz,

Maestronumous

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 2 weeks ago - 17 years 2 weeks ago #9159 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error warning
Hi my friend!

I'm afraid i gave you wrong post to check out!
Lets see!

Try to edit the file plugin_jw_sigpro.php
and modify the line 285 from
if (file_exists($tempfolder.md5($_images_dir_.$name).".".$format) && filemtime ($tempfolder.md5($_images_dir_.$name).".".$format) && $cache_expire_time * 60 > time()) {
to
if (file_exists($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).".".$format) && filemtime ($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).".".$format) + $cache_expire_time * 60 > time()) {

with this change, we pass at the image, the full path of the src!
Now, i steel see this warning at your site

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/images/stories/thumb/9da4292ea5662e8780845683943604a2.jpg) is not within the allowed path(s): (/var/www/html/web945:/tmp) in /var/www/html/web945/html/shop/mambots/content/plugin_jw_sigpro.php on line 285


where you can see that the paths steel are relative.

Check out this change of code and come back to tell me if its all ok now!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Maestronumous
  • Maestronumous's Avatar Topic Author
  • Offline
  • New Member
More
17 years 2 weeks ago #9160 by Maestronumous
Replied by Maestronumous on topic Re: error warning
Hey Vinikey,

All is well now;)
Thank you for your help.

With kind regards,

Maestronumous

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 2 weeks ago #9161 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error warning
Hi my friend!

Check also this sticky post !

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 8 months ago #9162 by seesharp
Replied by seesharp on topic Re: error warning
Hi

just bought that product and get the very same error. As I am not the Server root I cannot make those changes manually. Isn't there an updated version available ?

Alex

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum