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?
hm, could it be you're using cpg1.3.0beta ;)?
Well, no support for 1.3 yet...
GauGau
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.
My guess is you haven't downgraded properly.
GauGau
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.
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.
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?
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.
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"?
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
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.