Questions tagged [safe-mode]

105 questions
2
votes
1 answer

Where to start with Deprecated: Directive 'safe_mode' on line 0 in Apache error logs

We are inundated with the entry: Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 Deprecated: Directive…
DMCoding
  • 1,167
  • 2
  • 15
  • 30
2
votes
0 answers

How can I disable the Alt/Option key from opening Firefox in safe mode?

I'm using Quicksilver to set a global hotkey to launch Firefox: Control+Alt+F. The trouble is, Firefox interprets Alt being held down during launch as the instruction to launch in safe mode (I don't want this.) How can I disable or change Firefox's…
apennebaker
  • 681
  • 2
  • 8
  • 17
2
votes
1 answer

Why can't I create a directory within a recently created directory?

Possible Duplicate: PHP mkdir and apache ownership EDITED TO REFLECT NEW PROBLEM: Thanks to your help I can create a directory within a directory recursively, but I am unable to create multiple folders within those created…
Daniel F. Dietzel
  • 147
  • 1
  • 2
  • 11
2
votes
2 answers

Can't delete uploaded files

When I try to delete uploaded file on my website with unlink function I get Message: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid/gid is 10566/2524 is not allowed to access /var/www/vhosts/websitename owned by…
pavelkor
  • 79
  • 1
  • 8
1
vote
1 answer

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in

I have a large script that has a set_time_limit(0) directive to insure it processes fully. However, I'm getting a few reports of this error on a small percentage of installations: Warning: set_time_limit() [function.set-time-limit]: Cannot set time…
RegEdit
  • 2,134
  • 10
  • 37
  • 63
1
vote
2 answers

Is there any way to prevent a DELETE/UPDATE query to use the primary key greater than/less than comparison?

In MySQL/MariaDB there's the SQL_SAFE_MDOE that prevents you to run a query without using a primary key in the where clause. But even with that flag on I could run a query such as DELETE FROM table WHERE id > 0; And that would pretty much have the…
petekaner
  • 8,071
  • 5
  • 29
  • 52
1
vote
1 answer

Running SQL Server 2005 in Windows Safe Mode

My computer has recently crashed and I can only run it in Safe Mode. I need to back up a SQL server 2005 database and transfer it a computer that works. Is there anyway to run SQL server 2005 in Windows Vista Safe Mode?
Michael Kniskern
  • 24,792
  • 68
  • 164
  • 231
1
vote
1 answer

Are there any alternatives to safe_mode in PHP 5.4?

PHP 5.4 finally removed safe_mode and magic quotes. Are there any alternatives to them? To enhance the security level?
BlzOfHK
  • 61
  • 12
1
vote
0 answers

Can't exit or forceExit from Hadoop safe mode

I am trying to delete a folder in hadoop: hadoop fs -rm -R /seqr-reference-data/GRCh37/all_reference_data But it is giving me an error: INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0…
Nikita Vlasenko
  • 4,004
  • 7
  • 47
  • 87
1
vote
1 answer

Windows7 Force boot to Safe mode via API

Is there a way via the Windows API or altering a file to reboot the computer in safemode with Network support. (Windows 7) For Windows 2000 and XP you could simply add '/safeboot:network' to the boot.ini file. However with Windows 7 there is no such…
Reallyethical
  • 1,825
  • 2
  • 16
  • 26
1
vote
1 answer

Script not allowed to access owned by someone else

I have been trying to run the setup for the Siwapp app (an app based on the Symphony framework). And I keep getting this error once I specify the root Symphony folder. SAFE MODE Restriction in effect. The script whose uid/gid is 158807/158807 is not…
Aishwar
  • 9,284
  • 10
  • 59
  • 80
1
vote
1 answer

SQL error 1175 with JOIN

I tried to run the following command: UPDATE project JOIN folder ON folder.project_id = project.id SET project.source_folder_id = folder.id WHERE folder.name = 'source'; And of course I got the famous error 1175: You are using safe update mode…
Matthias Ronge
  • 9,403
  • 7
  • 47
  • 63
1
vote
4 answers

PHP safe_mode problem using curl

I want to use cURL on my server, but it gives me the following error Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set…
DarkLeafyGreen
  • 69,338
  • 131
  • 383
  • 601
1
vote
1 answer

MySQL Safe Mode: What Satisfies the Requirements?

I know that I can turn off Safe Mode in MySQL, so I’m not trying to work that one out. I have a simple table: create table rubbish( id int auto_increment primary key, stuff text, nonsense text ); Here id is the primary key. With Safe…
Manngo
  • 14,066
  • 10
  • 88
  • 110
1
vote
2 answers

Why is my test cluster running in safe mode?

I'm testing some basic HDFS operations like creating directories. I have the following cluster configuration in my test: import org.apache.hadoop.fs._ import org.apache.hadoop.fs.permission.FsPermission import…
erip
  • 16,374
  • 11
  • 66
  • 121