Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Vincent
Topic Author
Posts: 13
Joined: 08 May 2012, 21:32

Re: Safe mode, and The script whose uid is 3746 is not allow

16 May 2013, 06:49

they replied this:


Hello,

Thank you for your reply.

If you check on the php.ini file and find the safe mode settings you can see it's turn off. Tell your web developer to download and open that file to see the php configuration settings.

Please don't hesitate to ask if you have further queries.

Kind Regards,

Bema C
Online Support


Crazy Domains
Customer Support
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Safe mode, and The script whose uid is 3746 is not allow

16 May 2013, 23:39

So they say the safe mode is turned off and yet you see the error mentioning safe mode?

Could you please PM me your ftp login and password so I can take a look?
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14003
Joined: 30 Sep 2006, 03:37

Re: Safe mode, and The script whose uid is 3746 is not allow

17 May 2013, 03:03

replied to Nick in PM with details
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Safe mode, and The script whose uid is 3746 is not allow

17 May 2013, 04:31

Ok here is the deal, I don't know what we are discussing here, the sever is misconfigured.

1. They have safe_mode enabled
Code
safe_mode	On
2. It can't be turned off using .htaccess
3. upload_tmp_dir directive in php.ini is empty and has no value
Code
upload_tmp_dir	no value
4. system /tmp folder returned by sys_get_temp_dir() function can't be used by php because of the safe_mode

I have patched /iv-includes/include/getid3/getid3.php for you to use /tmp folder in the root folder of your site.

Here it is working with a patch: http://vincentcui.co.uk/new/
Here is a patched file if you would like to re-apply it again: http://cl.ly/P1gM/getid3.php

Line 22:
Code
$temp_dir = realpath('/home/vincentc/tmp/');
firedev.com