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 from SIGPRO

  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA
  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago #12501 by LUIZ G A S MENDONCA LUIZ G A S MENDONCA
Error from SIGPRO was created by LUIZ G A S MENDONCA LUIZ G A S MENDONCA
Hi !
Can anyone help me find out why I keep getting this error messagen messing up my content when I include SIGPRO in it:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/images/stories/temp/12baf6f50d2099a091b225d87ea3c189jpg) is not within the allowed path(s): (/home/restricted/home/heloisamarra:/tmp:/usr/share/pear) in /home/restricted/home/heloisamarra/public_html/joomla/mambots/content/plugin_jw_sigpro.php on line 285

I get one message per every picture in the gallery. Checked parameters and command line, it seems right.

Tks for any help provided !

Best regards,

Guilhermey

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 9 months ago #12502 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Error from SIGPRO
Hi my friend!

You can find the solution just searching the forum!  ;)

But you can do that!
At line 285 at the sig pro plugin's file
change the code to
// create thumbnails
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
   $html .= $leftcomment.'<img alt="'.$clickopen.'" title="'.$clickopen.'" src="'.$tempfolder.md5($_images_dir_.$name).$format.'" />'.$rightcomment;
}

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.

  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA
  • LUIZ G A S MENDONCA LUIZ G A S MENDONCA's Avatar Topic Author
  • Offline
  • New Member
More
16 years 9 months ago - 16 years 9 months ago #12503 by LUIZ G A S MENDONCA LUIZ G A S MENDONCA
Replied by LUIZ G A S MENDONCA LUIZ G A S MENDONCA on topic Re: Error from SIGPRO
Tks my friend !
It worked all right !!!
At first somehow my FTP was not overwriting correctly the file.
Tks a lot !!!
Best regards,
Luiz Guilherme

Hi my friend!

You can find the solution just searching the forum!  ;)

But you can do that!
At line 285 at the sig pro plugin's file
change the code to

// create thumbnails
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
   $html .= $leftcomment.'<img alt="'.$clickopen.'" title="'.$clickopen.'" src="'.$tempfolder.md5($_images_dir_.$name).$format.'" />'.$rightcomment;
}

Thank you!

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


Powered by Kunena Forum