Author Topic: Something Bad happened when I moved to a new server!  (Read 17531 times)

0 Members and 1 Guest are viewing this topic.

jojomart

  • Guest
Something Bad happened when I moved to a new server!
« on: January 13, 2008, 11:25:00 PM »
Hi guys,

I hope someone can help me with this quickly - my host had to move me to a new server as there were problems with site going up and down.

These are my new php and mysql versions:

PHP version   5.2.5
MySQL version   5.0.45-community

Everything is CHMOD correctly, as well.

I can't download anything - it just keeps reverting to the index.php

Please someone help me with this - I don't know what to do next.

Joanne

« Last Edit: January 13, 2008, 11:36:08 PM by jojomart »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #1 on: January 13, 2008, 11:39:45 PM »
Quote
there were problems with site going up and down.

If problem still, report to host for problem.

Quote
I can't download anything - it just keeps reverting to the index.php

What is web log say for this ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #2 on: January 14, 2008, 12:03:31 AM »
There is no problem with the site going up and down with the new server.

The problem is something that changed - maybe in script?  Don't know.  It doesn't show any errors in the error.log

I'm so confused!

Joanne


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #3 on: January 14, 2008, 12:33:54 AM »
You check CATEGORIES_TABLE and IMAGES_TABLE - see if cat and all image exist after move in new host ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #4 on: January 14, 2008, 12:45:00 AM »
Yes, all of the categories and all of the images are there.

And when I hover over the download button, the link looks like it's correct, but it redirects to index.php instead of downloading.

Joanne

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #5 on: January 14, 2008, 12:49:54 AM »
This redirect from details page ?

You install MOD ? If so, please say ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #6 on: January 14, 2008, 12:51:32 AM »
I have the Different download options mod installed - but it was working fine before the move.

Does magic_quotes_runtime need to be turned on - it isn't on my server, but it wasn't on the old server either.

Edit:

Even the regular download button redirects to index.php - not just the downloads of 1024 size

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #7 on: January 14, 2008, 12:54:12 AM »
Hum ... I check in PHP.net site and is say:

Quote
Fixed bug #33958 (duplicate cookies and magic_quotes=off may cause a crash). (Ilia)

Here: http://www.php.net/ChangeLog-5.php#5.2.5 ...

Is fix with PHP 5.2.5 ... I no see problem if fix ... if different download options create problem - please post in Jan topic for solution.

Quote
Edit:

Even the regular download button redirects to index.php - not just the downloads of 1024 size

If regular too ... install fresh copy of 4images in fresh folder and database and see if same problem ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #8 on: January 14, 2008, 01:01:19 AM »
OK, I'll try installing a fresh copy and see if it works or not.

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #9 on: January 14, 2008, 01:14:07 AM »
OK, a new install works - now what the heck do I do, I have so many mods installed I don't know where to start!


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #10 on: January 14, 2008, 01:16:59 AM »
Is like say in my signature for PHP v5.2 -

Quote
In January 2008, everyone will see the result (for the good or for the bad).

;)

Some MOD is possible no work in PHP v5.2+ but no choice.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #11 on: January 14, 2008, 01:23:04 AM »
Does that mean the Download different options mod?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #12 on: January 14, 2008, 01:24:20 AM »
Try and see with fresh gallery you install. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

jojomart

  • Guest
Re: Something Bad happened when I moved to a new server!
« Reply #13 on: January 14, 2008, 01:40:28 AM »
OMG, that means my whole directory is screwed. I worked so hard to get it the way I wanted it, and now the mods are no good! 

This sucks!  :evil:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Something Bad happened when I moved to a new server!
« Reply #14 on: January 14, 2008, 01:43:07 AM »
If work hard and have backup ... no need for work hard again. Use fresh and integrate work you do in new gallery - see result. ;)

For backup gallery, I use this:

http://www.4homepages.de/forum/index.php?topic=18747.0
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?