coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: bizlur on May 15, 2013, 12:40:16 AM

Title: Weird stuff happening all of a sudden...
Post by: bizlur on May 15, 2013, 12:40:16 AM
On the main page I get this: 

/include/functions.inc.php

    Notice line 134: Undefined index: lang

/index.php

    Notice line 711: Undefined variable: file

When I upload an image I get this:

/include/functions.inc.php

    Notice line 134: Undefined index: lang
    Warning line 2950: cannot yet handle MBCS in html_entity_decode()!  (THIS LINE IS REPEATED MANY TIMES, AT LEAST 100 I'D SAY)

/upload.php

    Notice line 1979: Undefined variable: file_failure_array
    Notice line 1980: Undefined variable: URI_failure_array
    Notice line 1981: Undefined variable: zip_failure_array

The site's main user wasn't able to upload images, he said it was telling him that the file format was not recognized (jpg), even when he tried multiple images.

I upgraded to the newest version and I am able to upload images and everything works, except for all these warning/notice messages.

-------------------------------------------

USER:
------------------
Array
(
    [ID] => a4a0c58ad6e72dbbd26e95cf4fe26637
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Weird stuff happening all of a sudden...
Post by: phill104 on May 15, 2013, 12:15:44 PM
Can we have a link to your site please?
Title: Re: Weird stuff happening all of a sudden...
Post by: bizlur on May 15, 2013, 03:27:24 PM
http://foreignaffairs.us/gallery/

Title: Re: Weird stuff happening all of a sudden...
Post by: phill104 on May 15, 2013, 04:02:40 PM
You are still using the CPG1.4.x build which has been out of support for 2 years now. Please upgrade to CPG1.5.x. In all likelihood this will also fix your problems.
Title: Re: Weird stuff happening all of a sudden...
Post by: bizlur on May 15, 2013, 04:37:07 PM
I upgraded to the latest stable version.  I just upgrade to the latest and it just killed everything even when I try to revert to the old version.  Lovely.
Title: Re: Weird stuff happening all of a sudden...
Post by: bizlur on May 15, 2013, 05:08:07 PM
I just reverted to our old version, which I believe is 1.3.

Title: Re: Weird stuff happening all of a sudden...
Post by: bizlur on May 15, 2013, 05:33:00 PM
upgraded from 1.3 -> 1.5 instead of 1.3 -> 1.4 -> 1.5.

Does the same thing after upgrade.  "There was an error while processing a database query"

Reverting to 1.3 again.
Title: Re: Weird stuff happening all of a sudden...
Post by: phill104 on May 15, 2013, 07:33:30 PM
Please read the upgrade instructions carefully. Please note that upgrading from 1.3 to 1.5 is not supported. Bed go to 1.4 first then from there to 1.5. Remember to run update.php at each stage.