Hi guys , I've recently installed a script called "Easy Media Script". This is a free php script for uploading & viewing images, videos or flash files.
Thing is , it's a really big script and I keep geting some errors in the "error_log" saying this:
Now, from what I gathered I see like different php files from this system and I really don't know how to fix those errors.Code:[27-Aug-2011 16:34:17] PHP Warning: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(//) is not within the allowed path(s): (/home:/tmp) in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:17] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 785 is not allowed to access // owned by uid 0 in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:17] PHP Warning: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(//) is not within the allowed path(s): (/home:/tmp) in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:17] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 785 is not allowed to access // owned by uid 0 in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:17] PHP Warning: copy() [<a href='function.copy'>function.copy</a>]: Unable to access /home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 224 [27-Aug-2011 16:34:17] PHP Warning: copy(/home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 224 [27-Aug-2011 16:34:17] PHP Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg' in /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php:193 Stack trace: #0 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...') #1 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable() #2 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/GdThumb.inc.php(96): ThumbBase->__construct('/home/x7euprr/p...', false) #3 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/PhpThumbFactory.class.php(127): GdThumb->__construct('/home/x7euprr/p...', Array, false) #4 /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php(242): PhpThumbFactory::create('/home/x7euprr/p...') #5 /home/x7euprr/public_html/games/walk&play/ip-user/upload.php(66): Upload::image(Array) #6 /home/x7euprr/p in /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php on line 193 [27-Aug-2011 16:34:26] PHP Warning: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(//) is not within the allowed path(s): (/home:/tmp) in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:26] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 785 is not allowed to access // owned by uid 0 in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:26] PHP Warning: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(//) is not within the allowed path(s): (/home:/tmp) in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:26] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: SAFE MODE Restriction in effect. The script whose uid is 785 is not allowed to access // owned by uid 0 in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 25 [27-Aug-2011 16:34:26] PHP Warning: copy() [<a href='function.copy'>function.copy</a>]: Unable to access /home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 224 [27-Aug-2011 16:34:26] PHP Warning: copy(/home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php on line 224 [27-Aug-2011 16:34:26] PHP Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /home/x7euprr/public_html/games/walk&play/ip-images/2011/08/27/assassins-creed-revelations-front-cover-56665.jpg' in /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php:193 Stack trace: #0 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...') #1 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable() #2 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/GdThumb.inc.php(96): ThumbBase->__construct('/home/x7euprr/p...', false) #3 /home/x7euprr/public_html/games/walk&play/ip-inc/lib/PhpThumbFactory.class.php(127): GdThumb->__construct('/home/x7euprr/p...', Array, false) #4 /home/x7euprr/public_html/games/walk&play/ip-inc/classes/Upload.class.php(242): PhpThumbFactory::create('/home/x7euprr/p...') #5 /home/x7euprr/public_html/games/walk&play/ip-user/upload.php(66): Upload::image(Array) #6 /home/x7euprr/p in /home/x7euprr/public_html/games/walk&play/ip-inc/lib/ThumbBase.inc.php on line 193
The files are :
#0 - ThumbBase.inc.php (line 172)
#1 - ThumbBase.inc.php (line 110)
#2 - GdThumb.inc.php (line 96)
#3 - PhpThumbFactory.class.php (line 127)
#4 - Upload.class.php (line 224 and line 242)
#5 - upload.php (line 66)
#6 - ThumbBase.inc.php (line 193)
*You have those in the error_log.
I've uploaded the files within an archive called "ems.zip" because I had more then 1000 characters.
So those are the five files that gives me trouble. I'm sorry for requesting your help with this , but the support team from Easy Media Script did'n answer.
I really hope you can help me with this , and if you need anything else form this script "system" I'll gladly help.
Thank you very much , dakata



Reply With Quote

Bookmarks