Author Topic: Moving my 4images gallery to another server doesnt work  (Read 6695 times)

0 Members and 1 Guest are viewing this topic.

Offline lachs

  • Pre-Newbie
  • Posts: 5
    • View Profile
Moving my 4images gallery to another server doesnt work
« on: July 27, 2009, 12:23:12 PM »
Hello,

im just trying to move an existing installation of 4 images to another server.. everything went fine, i backuped the old data transferes it to the other server and imported the databases too.
Now i wanted to open my gallery: http://www.justcom.de/dev3/    but i think there is something wrong in the htaccess file, because the explorer or firefox always want to download the index.php file instead of opening/parsing it. I changed the chmods too.

Can somebody please tell me why my browser is doing this?
Here is the htaccess:
Code: [Select]
AddHandler php-fastcgi .php .php4 .php3
thanks in advance.......



Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Moving my 4images gallery to another server doesnt work
« Reply #1 on: July 27, 2009, 02:09:46 PM »
Welcome to 4images forum.

Did you contact your host's administrator with this matter?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lachs

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Moving my 4images gallery to another server doesnt work
« Reply #2 on: July 27, 2009, 02:27:20 PM »
well not yet... is it a problem from my host?
Normally my server can handle php files without problems...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Moving my 4images gallery to another server doesnt work
« Reply #3 on: July 27, 2009, 02:41:53 PM »
If "normally" it works fine with php, then perhaps it's something you added in .htaccess ?

4images should work fine on any server that configured properly...
The problem is that server returns wrong header:
Code: [Select]
Content-Type: application/x-httpd-php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lachs

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Moving my 4images gallery to another server doesnt work
« Reply #4 on: July 27, 2009, 02:58:40 PM »
hey v@no,

like i said, the only thing that is in the htaccess is the following:
Code: [Select]
AddHandler php-fastcgi .php .php4 .php3
any idea if something is wrong in there?

if i delete the htaccess there is an internal server error... so thats not a solution :-)

thans in advance

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Moving my 4images gallery to another server doesnt work
« Reply #5 on: July 27, 2009, 03:09:31 PM »
I'd would contact host administrator, as making php working is their responsibility ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lachs

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Moving my 4images gallery to another server doesnt work
« Reply #6 on: July 27, 2009, 03:23:14 PM »
ok there is something i know from the administrator.

The server i got handles "php over/as cgi" ... maybe therefor i need another paramater in my htaccess??

i just contacted the sderver admin, hoping to get an answer asap...

do you think that the problem coulb be the htaccess?!

Rembrandt

  • Guest
Re: Moving my 4images gallery to another server doesnt work
« Reply #7 on: July 27, 2009, 04:04:34 PM »
Hi!

Quote
AddHandler php5-cgi .php

b.z.w. welchen provider hast du dir da ausgesucht?

mfg Andi


Offline lachs

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Moving my 4images gallery to another server doesnt work
« Reply #8 on: July 27, 2009, 04:13:24 PM »
provider ist yellowgrey, wir haben dort einen reseller server, der eigentlich richtig eingestellt ist.
Deinen Vorschlag habe ich in die htaccess eingebaut, hat aber leider nicht funktioniert, das resultat ist das gleiche --> er versucht die datei herunterzuladen..........
wie gesagt habe ich dem support mittlerweile geschrieben, bis jetzt jedoch keine Antwort erhalten.

.................. ich dreh durch :-)