Author Topic: Errors when trying to upgrade  (Read 8962 times)

0 Members and 1 Guest are viewing this topic.

Offline tavarish

  • Newbie
  • *
  • Posts: 14
    • View Profile
Errors when trying to upgrade
« on: November 17, 2007, 04:54:37 AM »
Hi there,

I downloaded the newest 4images and tried to update my 1.5 installation that did not work anymore. Copies over all the files, put back the config file and was ready to update the tables. But that was not so easy, I got:

4images Update 1.5 to 1.6

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.
An error occured while updating tables


Anyone who can help and give advice on how to update it?

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Errors when trying to upgrade
« Reply #1 on: November 17, 2007, 01:55:34 PM »
4images 1.7.4 is the current version, download here:
http://www.4homepages.de/4images/download.php
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Errors when trying to upgrade
« Reply #2 on: November 17, 2007, 01:56:58 PM »
If login in admin, you see full error.
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 ?

Offline tavarish

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Errors when trying to upgrade
« Reply #3 on: November 17, 2007, 03:33:49 PM »
Thank you for the answers, even if they did not help me very much.

1. It is the 1.7.4 I try to install. I have uploaded the files, done all other changes as needed. Then I have to run the upgrade files, and when I try to run the upgrade file from 1.5 to 1.6 first I get the errors as descibed in the first post. My plan was then to run the 1.6 to 1.7.4 upgrade file.

2. I have looked trough the forum, help files and so on and can not find why I get the errors.

3. The site in question is www.journeypix.com, if you go to it you will see that I, as far as I know, can not log in as admin.

Any help is greatly appreciated. Thank you very much for all help in advance.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Errors when trying to upgrade
« Reply #4 on: November 17, 2007, 05:50:26 PM »
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 ?

Offline tavarish

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Errors when trying to upgrade
« Reply #5 on: November 17, 2007, 07:40:18 PM »
For php.html error template - use this:

http://www.4homepages.de/forum/index.php?topic=18932.msg101956#msg101956

Thank you very much for your help. Tried to add what was in the thread, but the only thing that happens is that it takes longer time before it comes to the error message.

I think the mail problem is that it can not update the mysql and so on when it can't run the update_1.5_1.6.php and update_1.6_1.7.4.php or whatever the names of those files are.

Am now able by the way to log in as administrator and get the message that I use 1.7.4. The problem is that visitors can't see the site as only a error message is shown to them When I logged in as administrator I tried to run the update files but same error messages.

Offline tavarish

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Errors when trying to upgrade
« Reply #6 on: November 19, 2007, 01:41:28 PM »
Please guys, any suggestions?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Errors when trying to upgrade
« Reply #7 on: November 19, 2007, 02:36:59 PM »
Quote
Thank you very much for your help. Tried to add what was in the thread, but the only thing that happens is that it takes longer time before it comes to the error message.

Is templates folder world write ? If no, you need set CHMOD 777 for all folder in templates. After, try with patch. If message is show after delete, delete templates/your_template/media/php.html file.
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 ?

Offline tavarish

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Errors when trying to upgrade
« Reply #8 on: November 19, 2007, 09:39:34 PM »
Quote
Thank you very much for your help. Tried to add what was in the thread, but the only thing that happens is that it takes longer time before it comes to the error message.

Is templates folder world write ? If no, you need set CHMOD 777 for all folder in templates. After, try with patch. If message is show after delete, delete templates/your_template/media/php.html file.

the template folder is writeable. It has 777 already. But I think the main problem is that I can not add changes from the upgrade to the database. Please go to:

http://www.journeypix.com/update_1.5_to_1.6.php

Try to run it. You can see the errors that come. I have already added all the new files for the latest version. All I need to do that I can not do is to run the 2 update files for the database.

Very frustrating.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Errors when trying to upgrade
« Reply #9 on: November 19, 2007, 09:50:56 PM »
Ok so please read step 1-2 of my signature and post.
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 ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Errors when trying to upgrade
« Reply #10 on: November 19, 2007, 09:54:07 PM »
tavarish,
i sent you a PM, i will look for your errors.
« Last Edit: November 19, 2007, 10:11:55 PM by Nicky »
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Errors when trying to upgrade
« Reply #11 on: November 19, 2007, 11:42:24 PM »
like wroten into PM,
look that your gallery is up2date or security fixes are installed..

don't let play kiddies around. ;)

have fun.

problem solved
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi