|
All in One -
Developer
|
|
Written by Administrator
|
|
Monday, 21 March 2011 15:19 |
|
Summary : Joomla 1.6 & Simple image Gallery Plugin Error : JW_SIG_PRG Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 10228 is not allowed to access /var/www/vhosts/.../httpdocs/cache/jw_simpleImageGallery owned by uid 33 in /var/www/vhosts/.../httpdocs/plugins/content/jw_simpleImageGallery/jw_simpleImageGallery/includes/helper.php on line 134 Solution : give permission to write this folder : /cache/jw_simpleImageGallery if it is not allowed to change file permissions. delete file, and create with the same name, and give write permission |
|
Last Updated ( Monday, 21 March 2011 16:17 )
|
|
|
All in One -
Developer
|
|
Written by Administrator
|
|
Monday, 28 February 2011 01:02 |
|
Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 10053 is not allowed to access /var/www/vhosts/.../httpdocs/cache/jw_simpleImageGallery owned by uid 33 in /var/www/vhosts/.../httpdocs/plugins/content/jw_simpleImageGallery/jw_simpleImageGallery/includes/helper.php on line 134 Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /var/www/vhosts/.../httpdocs/plugins/content/jw_simpleImageGallery/jw_simpleImageGallery/includes/helper.php on line 134
Solution : You should give write access to folder cache/jw_simpleImageGallery |
|
All in One -
Developer
|
|
Written by Administrator
|
|
Sunday, 27 February 2011 20:15 |
|
Summary : Warning: realpath() [function.realpath]: Unable to access /var/www/vhosts/... in /var/www/vhosts/.../httpdocs/libraries/joomla/filesystem/path.php Why : The PHP function realpath() appears to be not very consistent in its behaviour across OS-platforms and versions of PHP. As per PHP 5.4.2 in Ubuntu 8.04 LTS the function realpath() behaves differently. (for details: see http://nl.php.net/manual/en/function.realpath.php#82770). Solutions : There is 2 solutions for you : edit file /httpdocs/libraries/joomla/filesystem/path.php Solution 1 : You have to edit both lines adding "@" in front of both $path AND $fullname. [old code] $path = realpath($path); // needed for substr() later $fullname = realpath($fullname); [/old code] Replace with: [new code] @$path = realpath($path); // needed for substr() later @$fullname = realpath($fullname); [/new code]
Solution 2 : You have to edit like this. [old code] $path = realpath($path); // needed for substr() later $fullname = realpath($fullname); [old code]
Replace with:
[new code] if (file_exists($path)) { $path = realpath($path); // needed for substr() later $fullname = realpath($fullname); } else { $path = ''; $fullname = ''; } [/new code]
|
|
Last Updated ( Sunday, 27 February 2011 20:47 )
|
|
All in One -
Developer
|
|
Written by Administrator
|
|
Thursday, 01 October 2009 12:11 |
|
When a local piece of PL/SQL references a remote package, function, or procedure, the local PL/SQL engine needs to know if the reference(package, function, or procedure) is still valid, or, if the remote procedure has changed. The locally compiled PL/SQL code is dependent on the remote code. This dependency is tracked by two models either TIMESTAMPS OR SIGNATURES in oracle. Check it : SELECT name, value FROM gv$parameter WHERE name = 'remote_dependencies_mode'; REMOTE_DEPENDENCIES_MODE = Timestamp The local PL/SQL block can only execute the remote PL/SQL block if the timestamp on the remote procedure matches the timestamp stored in the locally compiled PL/SQL block. If the timestamps do not match, the local PL/SQL must be recompiled.
REMOTE_DEPENCIES_MODE = Signature The local PL/SQL block can still execute the remote PL/SQL block if its "signature" is the same, even if the timestamp has changed.
The term "signature" basically means the interface (procedure name, parameter types or modes) is the same, even if the underlying implementation has changed. * You can alter the mode dynamically by using the DDL statements. For example, this example alters the dependency model for the current session:
Solution : ALTER SESSION SET REMOTE_DEPENDENCIES_MODE = {SIGNATURE | TIMESTAMP}
Thise example alters the dependency model systemwide after startup: Solution : ALTER SYSTEM SET REMOTE_DEPENDENCIES_MODE = {SIGNATURE | TIMESTAMP} |
|
Last Updated ( Thursday, 01 October 2009 16:20 )
|
|
All in One -
Developer
|
|
Written by Administrator
|
|
Monday, 14 September 2009 16:02 |
|
to create search engine friendly (sef) url in joomla JFilterOutput::stringURLSafe($var); |
|
Last Updated ( Monday, 14 September 2009 16:04 )
|
|
|
|
|
|
|
Page 1 of 2 |