Author Topic: Von Funpic auf Paid-Server, Probleme mit verschiedenen "functions"  (Read 3600 times)

0 Members and 1 Guest are viewing this topic.

Offline MDMC

  • Newbie
  • *
  • Posts: 22
    • View Profile
hi,

ich hab ein problem, ich bin jetzt mit meiner page und meiner bescheidenen Zahl von 500 Bildern auf einen Paid-Server umgezogen. Ich dachte vll geht so wenigstens das Batch_Import Script... nun gut... es geht nicht -.-

Quote
Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/srv/www/vhosts/the-pics.com/httpdocs:/tmp) in /srv/www/vhosts/the-pics.com/httpdocs/gallery/admin/plugins/batch_import.php on line 314

Warning: opendir(/) [function.opendir]: failed to open dir: Operation not permitted in /srv/www/vhosts/the-pics.com/httpdocs/gallery/admin/plugins/batch_import.php on line 314

0 images in .
Import category ...
DB Error: Bad SQL Query: SELECT cat_order FROM 4images_categories WHERE cat_parent_id = ORDER BY cat_order DESC LIMIT 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY cat_order DESC LIMIT 1' at line 4

DB Error: Bad SQL Query: INSERT INTO 4images_categories (cat_id, cat_name, cat_description, cat_parent_id, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment) VALUES (41, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)' at line 4
FAILED

Import finished!
[Back] 

Vll kann mir da jemand Helfen?

Zweiteres wäre mein Hauptproblem. Also wie gesagt ich bin umgezogen auf einen Paid-Server, habe alle Daten von FTP zu FTP kopiert und danach die MySQL daten exportiert und in der neuen Datenbank ausgeführt. Soweit ging auch alles aber wenn ich Bilder uploaden will etc, kommt das für jedes einzelene Bild:



Quote
Warning: move_uploaded_file(./../data/media/40/CIMG5004.JPG) [function.move-uploaded-file]: failed to open stream: Permission denied in /srv/www/vhosts/the-pics.com/httpdocs/gallery/includes/upload.php on line 113

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpTXdwWo' to './../data/media/40/CIMG5004.JPG' in /srv/www/vhosts/the-pics.com/httpdocs/gallery/includes/upload.php on line 113
Bild 1
    Fehler beim Upload der Bild-Datei: CIMG5004.JPG
CIMG5004.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

ICH BITTE UM HILFE!!!
  :cry:

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Von Funpic auf Paid-Server, Probleme mit verschiedenen "functions"
« Reply #1 on: November 13, 2006, 06:58:34 PM »
suche im forum nach "open_basedir restriction in effect. ".....

Offline MDMC

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Von Funpic auf Paid-Server, Probleme mit verschiedenen "functions"
« Reply #2 on: November 13, 2006, 10:30:44 PM »
hab ich gemacht, bringt nix. über php info alles gecheckt. is alles okay.... woran kann es noch liegen?

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: Von Funpic auf Paid-Server, Probleme mit verschiedenen "functions"
« Reply #3 on: November 13, 2006, 11:52:21 PM »
[qcode]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)' at line 4[/qcode]

das sieht sehr danach aus, als wäre dein DB-Dump von Funpic nicht vollständig beim packen geschrieben worden!!!

geh doch mal zu www.mysqldumper.de zieh das Script, installiere es bei Funpic, mach einen kompletten Dump und siel den mal auf dem neuen Server ein

du kannst mit MySQLDumper auch einzelne Tabellen packen und die einzeln einspielen, verringert das Schreiben von Fehlern enorm