View Full Version : safe mod
October 16th, 2008, 07:21 PM
can i make the Photopost work in safe mod ??
October 16th, 2008, 09:15 PM
No sorry Photopost can not work in safe mode that I am aware of unless your host alters the server to allow the script to perform the operations it needs to do like create user directories and categories and move files etc.
October 17th, 2008, 02:00 PM
thank Chuck for reply
i got this error
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/jpegtran) is not within the allowed path(s): (/home/MYADMIN:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/MYADMIN/public_html/gallery/image-inc.php on line 753
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 10000 bytes) in /home/MYADMIN/public_html/gallery/image-inc.php on line 152
October 17th, 2008, 03:39 PM
the line 753 is :
if ( strstr(strtolower($filepath),".jpg") && file_exists($Globals['jpegtran']) )
is it real from the memory size !!
October 17th, 2008, 08:10 PM
You can in admin global options remove the jpegtran path and that will hey rid of the openbase error
Have you turned off safe mode?
This should help with memory errors
October 18th, 2008, 01:19 AM
that was the post I come to write :)
It work in safe mod ON very good
only I have 1 problem
The problem to come up (I do not have a solution for it in safe mod ON )
when I create a new category, it creates a new folder in the data folder
delete the new folder manual ( IT`S same the new category id )
And create a new folder with the id number and inside it the subfolders
medium , mini and thumbs folder (oll of that manually FROM ftp )
Then give the permission ( 777 ) through cpanel >> File Manager
olso as you say
in the PhotoPost Administration Menu
>> Edit Settings
>> Global Options
>> Path to jpegtran (if used)
(( delete )) /usr/bin/jpegtran
and every thing OK !
TEST URL ( in arabic lang )
مكتبة صور شبكة مقاطع - الدليل الرئيسي (http://mgat3.com/gallery)
October 18th, 2008, 08:14 AM
If you want to manually create directories thats on you dont forget user upload directories.
October 18th, 2008, 03:23 PM
October 18th, 2008, 06:05 PM
Have a good weekend.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.