You can only upload ALL images You can only upload ALL images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

You can only upload ALL images

Started by Cyberpawz, May 03, 2004, 07:44:32 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Cyberpawz

What does, "You can only upload ALL images" mean?

Every time I get someone, including myself to atempt to upload a jpeg file, or any one for that matter, this is what I get.

I know something is wrong, but what?

Joachim Müller

hm, could it be you're using cpg1.3.0beta ;)?
Well, no support for 1.3 yet...

GauGau

Cyberpawz

Quote from: GauGau on May 03, 2004, 07:45:40 AM
hm, could it be you're using cpg1.3.0beta ;)?
Well, no support for 1.3 yet...

GauGau

Actually I'm using 1.2.x I was forced to go down to it because uploading images was impossible.

Joachim Müller

My guess is you haven't downgraded properly.

GauGau

Cyberpawz

Ya know I would of said the same thing, but I started with a fresh version of 1.2.x because I actually didn't want the issues...and I happen to get them anyway.  Not to mention GD 2x doesn't work either now.  Or didn't, I was forced to use my old image, with the updated database to get it to work at all.

hyperion

That error would be generated if you downgraded incorrectly.  You have not properly redone your database, so CPG 1.2.1 is attempting to operate using a 1.3 config table.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Cyberpawz

Quote from: hyperion on May 04, 2004, 01:16:23 AM
That error would be generated if you downgraded incorrectly.  You have not properly redone your database, so CPG 1.2.1 is attempting to operate using a 1.3 config table.

So how do you "downgrade" the database? or is it all in the documentation?

hyperion

The simplest way is to delete the database tables and start from scratch.

However, if you have a substantial amount of data, you can examine the /sql/update.sql file in the CPG 1.3 package and revert the tables manually using a tool like PHPMyAdmin.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Cyberpawz

Quote from: hyperion on May 04, 2004, 05:13:01 AM
The simplest way is to delete the database tables and start from scratch.

However, if you have a substantial amount of data, you can examine the /sql/update.sql file in the CPG 1.3 package and revert the tables manually using a tool like PHPMyAdmin.

Well over 180 users is slightly significant...with over 5000 images as well it causes some issues I don't want to have to rebuild.

No way of designing a script in PHP to "downgrade"?

Joachim Müller

I guess we won't do a downgrade script, since you never were meant to upgrade to cpg1.3.0 in the first place (therer were enough warnings not to use it on live sites unless comfortable with beta software, and there were warnings to back up everything, so you could go back to 1.2 easily) ;). This is the disadvantage when you use beta software without reading the documentation :-X. I guess you won't be able to upload untill cpg1.3.0 will be released.

GauGau

hyperion

If you have enough skill with PHPMyAdmin (or any SQL interface), you just need to get rid of the config table and replace it with a config table from 1.2.X.

All the other database changes can remain without causing any problems.

If you understand how to use CVS software, you could just as easily do an anonymous checkout from the /devel branch to get the up to date CPG1.3.

One other possible 'easy' solution would be to look at your Config console and attempt to change the values there.  Allowed Image Types should have the value ALL. (Can't be sure, though). Change this to something like JPG/GIF/PNG/JPEG.  That might help somewhat.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)