Author Topic: [MOD] for Bypassing The SAFE MODE  (Read 165419 times)

0 Members and 1 Guest are viewing this topic.

Offline wheat

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #75 on: December 17, 2006, 09:20:39 AM »
I'm confused.

When it says this:

"
$user="camo"; // your login name
$passwd="whyNot"; // your password "

What is the login and password for? The imagery gallery, my FTP? I don't know what to put in!! HELP!!

Offline Mazinger

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #76 on: January 24, 2007, 02:28:09 PM »
I've installed the gallery through the Cpanel... and eveything was installed successfully, the permissions were set... and the gallery worked...

when i tried to upload an image through the admin cp ... nothing was uploaded for :

Quote
Warning: move_uploaded_file(./../data/media/1/retsu.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/zonearab/public_html/includes/upload.php on line 113

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpeLdUpn' to './../data/media/1/retsu.jpg' in /home/zonearab/public_html/includes/upload.php on line 113

the safe mode was turned ON .. so I used the code in http://www.4homepages.de/forum/index.php?topic=3958.0 and changed the blue text...

... still have the problem yet ...

i deleted the folders in data/media... and created new ones (1, 2, ...) and set permission 777 ...

but still have the problem  :?

can any one help??

Offline Mazinger

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #77 on: January 24, 2007, 02:34:18 PM »
another problem, when i try to upload as a member.. not through the admin cp:
Quote
Warning: move_uploaded_file(./data/media/2/retsu.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/zonearab/public_html/includes/upload.php on line 113

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpMlRAyH' to './data/media/2/retsu.jpg' in /home/zonearab/public_html/includes/upload.php on line 113

Offline Mazinger

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #78 on: January 24, 2007, 08:33:04 PM »
I got this:

Quote
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 32032 is not allowed to access /home/zonearab/public_html/gallery/data/media/1 owned by uid 99 in /home/zonearab/public_html/gallery/includes/upload.php on line 113

Offline leo-magic

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #79 on: January 28, 2007, 11:54:16 AM »
Delete the folder [number] in /data/media and [number] in /data/thumbnails and recreate these two folders and give them chmod 777.

Léo

maedicke

  • Guest
Re: [MOD] for Bypassing The SAFE MODE
« Reply #80 on: July 06, 2007, 07:38:45 PM »
Backup all files before you change them!!!
Mach eine Sicherheitskopie von den Dateien, bevor du sie Veränderst

DO NOT MODIFY THE FILES IF YOU DON'T HAVE ANY PROBLEM WITH SAFE MODE !
ÄNDERE DIE DATEIEN NICHT, WENN DU KEINE PROBLEME IM SAVE MODE HAST!


1.


Hi,

Ich möchte auf meiner Webseite auch eine Image Galerie einrichten und bin daraufhin auch über 4images gestolpert.
Natürlich hat mein Webhoster Safemode = on gesetzt.
Mit diesem Patch hier geht es ganz gut zu umschiffen, allerdings ist da noch ein Problem:
Möchte ich eine Kategorie löschen, in der noch Bilder vorhanden sind, bekomme ich folgende Fehlermeldung:

Kategorie erfolgreich gelöscht test34 (ID: 22)
-» Bild erfolgreich gelöscht

Warning: ftp_rmdir() [function.ftp-rmdir]: /galerie/data/media/22: Directory not empty in /home/www/htdocs/maedicke.de/galerie/admin/categories.php on line 120
-» Kommentare erfolgreich gelöscht


Weiter unten steht dann:

   Es sind Fehler bei folgenden Aktionen aufgetreten:

    * Fehler beim Löschen der Bild-Datei (test34, ID: 22)
    * Fehler beim Löschen der Thumbnail-Datei (test34, ID: 22)


In Zeile 120 steht bei mir $result = ftp_rmdir($conn_id,$path);

Wo liegt denn der Fehler?



Offline superuke

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #81 on: September 17, 2007, 04:54:15 PM »
Ich hab auch alles so gemacht wie im Thread http://4homepages.de/forum/index.php?topic=3958.0 beschrieben. SaveMode ist auf ON. Es funzt trotzdem nicht. Bekomme immer die Fehlermeldung:

Code: [Select]
Fehler beim Upload der Bild-Datei: CIMG1709.JPG
CIMG1709.JPG: Datei konnte nicht auf den Server kopiert werden. Bitte überprüfen Sie ob die Zugriffsrechte des Zielordners richtig gesetzt sind

Daten nicht in die Datenbank geschrieben

Gibt es noch ne andere möglichkeit wo der Fehler hängen könnte?

Offline bensen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #82 on: October 05, 2007, 11:19:10 PM »
das script funzt nicht gleiche fehler wie beim vorgänger

Offline nette2

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #83 on: January 12, 2009, 12:01:59 PM »
I have done all as you sugested to bypas safe mode but it still won't work for me.

any other sugestions please??

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #84 on: July 20, 2009, 02:17:39 AM »
For me the same... does anybody have some news?

Offline hippi

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] for Bypassing The SAFE MODE
« Reply #85 on: May 26, 2013, 04:33:30 PM »
Sorry, what is "blue lines" in your first post?
And I dont understand last content. May you explan it for me? Thanks :D
[ Camo
[edit=Nicky]
Code:  [Select]  [Expand]  [Hide line numbers]
1[color]
and
Code:  [Select]  [Expand]  [Hide line numbers]
1[/color]
removed from codes. original post attached as chmod.txt ]

And how I can add IP in the config ?
 
Quote
Ping your.domaine.name
and copy the IP adresse in the config.
Quote

[ Quote from: kummy   [Expand]
well...i think it's work...but a i get this message:
Warning: ftp_connect() [function.ftp-connect]: php_hostconnect: connect failed in /home/kummy72/public_html/iluh/4images/admin/categories.php on line 101
Warning: ftp_login() expects parameter 1 to be resource, boolean given in /home/kummy72/public_html/iluh/4images/admin/categories.php on line 106
Mauvaise connexion FTPEssaye de se connecter a 195.90.85.74 for user
my question is, how can i know my FTP IP server?  ]
« Last Edit: May 26, 2013, 05:28:34 PM by hippi »