Tråd: [fixed] Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 12:36 am
I have 2 separate sites at 9.1.2 (both upgrades) and both exhibit this same problem...
Logged in as both a user and as an admin selecting Admin > Coppermine then Albums & Go (or Photo Gallery > Create/Order My Albums) I get:
Code:
CMS Warning line 75: On /index.php?name=coppermine&file=albmgr While executing query "SELECT aid, title, pos,
description, thumb FROM jbs_cpg_albums WHERE category = ORDER BY pos ASC" the following error occured: You have
an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
near 'ORDER BY pos ASC' at line 1 In: /home/homes12/public_html/modules/coppermine/albmgr.php on line: 112
Clearly $cat is '' (empty) at this point. An echo statement at entry point of modules/coppermine/albmgnr.php shows that $cat had a 0 value on entry if I was logged in as Admin & user. So why did it become ''?
If I log in only as a user then Photo Gallery > Create/Order My Albums works fine. (But this doesn't help in creating a site album.)
Admin Album create worked fine before upgrade to 9.1.2.
Tråd: update to 9.1.2.1, cant add cpg albums anymore? Skrevet: Ons Mar 21, 2007 12:49 pm
hi there!
the update to 9.1.2.1 went smoothly, everything works, except i cant add cpg albums anymore? deleting and eduiting albums works fine, also i am able to add categories, but not albums, this used to work before.
Indmeldt: Nov 13, 2004 Indlæg: 89 Geografisk sted: Germany
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 5:47 pm
Same problem here on an fresh install ...
Code:
CMS Warning line 75: On /index.php?name=coppermine&file=albmgr While executing query
"SELECT aid, title, pos, description, thumb FROM cms_cpg_albums WHERE category = ORDER BY
pos ASC" the following error occured: You have an error in your SQL syntax. Check the manual
that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY pos ASC'
at line 1 In: /homepages/29/d72673074/htdocs/GDI-Net/modules/coppermine/albmgr.php on line: 111
_________________ >>> German Dragonfly - Team
Gallowglas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37/4.0.25-5.0.18/4.4.7-5.2.1/9.0.6.1-9.1.2.5
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 5:57 pm
I've reproduced it, but haven't found the cause yet. Something is messing with $cat and it's not populated. This file has basically no changes, so I'm on a wondrous journey of coppermine mysteries.
I did kludgily make a workaround by repeating to read the GET and POST right above that query... _________________ Diagon Alley - Top Design
sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 6:05 pm
Sarah, Welcome to my problem!
Digging myself and getting confused. Extra info: on 9.1.1.1CVS Admin only login fails with same db crash, but ok if logged in as user as well. So problem occurred in 9.1.1.1 but has grown in 9.1.2.1.
Agreed albmgr.php has had little changed. But look at index.php. Mass of changes related to $cat! But it gets better...
If you call index.php?name=coppermine&file=index.php rather than albmgr.php it accesses the categories fine. Reason is there are 2 functions called get_subcat_data(), 1 in albmgr.php and 1 in index.php. And they have different parameters
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 6:16 pm
Nano is aware and as yet, can't find why it should be so - he has speculated that something else may be interfering with $cat. _________________ Advertising • Resources
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 6:26 pm
functions.inc has a lot of changes... those new functions at the bottom.
The urls are constructed fine, even if you type in a properly constructed url you can see with debug on there is no cat in the GET. If I force that GET to be gotten again right before the query then it all works.
It should just be a matter of echoing $cat on a million different lines and see where it gets lost. _________________ Diagon Alley - Top Design
sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Ons Mar 21, 2007 6:58 pm
aha, some progress here, thx folx!
well, albmgr.php cant be the problem, i tried using the previous one and problem persisted.
to me it looks there is something wrong with the mysql database tables infact of albums, but what do i know..
have there been security fixes to the cpg stuff at all? if not, i wonder if we couldnt simply use the old cpg modules, but i didnt have he guts yet to do it.
any help appreciated, i just installed dragonfly 4 weeks ago, and now this. oh well..
hdsoltau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Solaris/1.3.31/5.x/5.x/9.1.2.1
It doesn't seem like the best way to do it, however, it does seem to fix it. Then again, as usual in coppermine I'm never totally sure if I broke something when fixing something else. It's like Whack-a-Mole.
None of my print_r in this file even work. I'm having a hard time finding where $cat gets lost. But it does work if I re-GET it right before the query. _________________ Diagon Alley - Top Design
sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Tor Mar 22, 2007 10:46 am
well, i (and probably many others) dont care much about new features, but about security. thats why we use cpgnuke and not phpnuke.
so please make sure the changes are secure!
thanks.
have there been security issues in he previous release of cpgnuke? i wonder if it would be beter to switch back to the previous version for the time beeing, until this release is tested?
hdsoltau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Solaris/1.3.31/5.x/5.x/9.1.2.1
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Tor Mar 22, 2007 10:57 am
The last release of cpgnuke was over 2 years ago. There is no cpgnuke 9.1.2.1.
Most users actually do care about new features - that's what drives progress. Security has always been the first priority of cpgnuke and DragonflyCMS development. On what basis are you raising the prospect of a security issue?
Nano has figured it out, as expected, and it has nothing to do with security and will provide the fix shortly. _________________ Advertising • Resources
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Tor Mar 22, 2007 11:22 am
Phoenix wrote:
The last release of cpgnuke was over 2 years ago. There is no cpgnuke 9.1.2.1.
well, OK, it has been renamed to dragonfly, though.. you know what i mean.
the domain is still called cpgnuke.com, and btw, on your mainpage it tells "DragonflyCMS 9.1.2.1 Released" and the post is dated january 8th. this is a little confusing. it did also read january 8th as i downloaded the previous dragonfly release some weeks ago.
Phoenix wrote:
Most users actually do care about new features - that's what drives progress. Security has always been the first priority of cpgnuke and DragonflyCMS development. On what basis are you raising the prospect of a security issue?
well, if a developer posts he is unsure if the fix he provided is correct or not, and fears it might break something else, that does not sound very reliable. you should discuss such things internally in a developer corner, and not to the public audience.
just my 2 cents
Phoenix wrote:
Nano has figured it out, as expected, and it has nothing to do with security and will provide the fix shortly.
thanks.
hdsoltau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Solaris/1.3.31/5.x/5.x/9.1.2.1
Tråd: Re: Error Creating/Modifying Albums with 9.1.2.1 Skrevet: Tor Mar 22, 2007 1:27 pm
oh, just btw.. it would be nice if you put a note on the mainpage about this problem, so it avoids some headache to other users.
those who can live without new albums for a while feel free to upgrade, those who dont better wait a few days/hours - however it takes. take your time.
IMHO this is the only bug in the new release, everything else is actually working as it should
hdsoltau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Solaris/1.3.31/5.x/5.x/9.1.2.1
Alle tidspunkter er GMT Gå til side 1, 2, 3, 4, 5, 6, 7Næste
Side 1 af 7
Du kan ikke skrive nye indlæg i dette forum Du kan ikke besvare indlæg i dette forum Du kan ikke rette dine indlæg i dette forum Du kan ikke slette dine indlæg i dette forum Du kan ikke stemme på afstemninger i dette forum Du kan ikke tilføje filer i dette forum Du kan ikke downloade filer fra dette forum
I just did the phpNuke 7.4 to CPG-Nuke CVS conversion. Was very easy. ... Found everything I needed to help me along the way with a few searches.
The most unexpected and best thing I have found after switching was the increased speed.
I used to think I needed to change hosts--since switching to CPG-Nuke all my users have commented on how much faster pages load
Whit i was running phpnuke and have almost 30,000 members
apache and sql both running at 99% usage,
server crashed when 50 ppl online,
Host wanted me off shared hosting as many customers complaining i was crashing a p4 3.2
with 2gig ram,
i converted to cpg and now i have less than a 50% server load
cpg saved me $300 USD a month
offshore dedicated servers cost $$
thx guys
one decision i dont regreat is CPGNUKE
Korben
www.datastreamz.net
It's like this - I was working with Oldsmobiles when I was workin with HTML. Then I moved up to Mazda's and Audi's with PHP Nuke. But now my friends I am riding in style with Benz's and Porche's. The diffrence is that noticable immediatly. The Install is so simple once you get it and the site is so secure its like fort knox. Thank you - And you all can expect to see alot more of me around - suggesting ideas and helping where I can. Peace out all - and enjoy newbies. It's really worth it to use CPGNuke.
- Kid_Creation One thing I've noticed about CPG-Nuke... it is fast and clean. Impressive. One of my 'customers' liked it so much she wanted everything changed to CPG-Nuke!
- valis
awebware.comThe conversion from phpNuke 7.4 to CPG-Nuke (CVS) was a piece of cake. The data conversion took about two hours. Hit a few snags--but nothing a few forum searches couldn't fix.
Probably the best compliment I got from my users--"Did you change hosts?" The speed improvement over phpNuke is quite noticable.
Kudos to the developement team! Thanks for helping me get away from the phpNuke tease.
- Whit
endofropegang.comThanks for the Great program! I never regret migrating from PhpNuke. My
site is so much faster and more secure. Now I spend time managing my site instead
of the site software. Keep up the good work!
- Rod
www.gentle.orgNow that we are running CPG Nuke this is the first time I've travelled
without having to worry about hacking, monitoring the site daily, etc. Thanks for
CPG Nuke and everyone that made it possible. We are running a consumer advocacy
site at householdwatch.com and the site is very busy. CPG Nuke is doing the job
and doing it well.
NukeFindCPG is Fast, Secure & Free
Since installing it's been much easier to work with as an admin.
Better admin features but not as many modules that phpnuke offers.
Built for speed and reliability.
Admin of 3 prominent sites that combined receive 6 million hits annually.
CPGnuke is hands down the best CMS out there.
- djdevon3 I just made the switch to CPG, from phpNuke.
The install was easy, simple when following well written instructions. My site has dramatically increased in speed, it really is a day and nite difference.
Thanks to everyone who is a part of the CPG-Nuke project and for offering this CMS as a great alternative to the other *Nukes.
I look forward to being a part of the community.
Kristin
"I made the switch!"
I managed to stumble onto this remake of phpnuke type CMS and have been VERY pleased ever since... I'm very glad it's the system I'm using to make a web site.
4estGreat sense of community around CPG Nuke!
Thanks for your hard work
Cheers! roRiscTo the Dev team. You guys rock keep up the good work. Hopefully I'll get good enough at this quickly so that I'll be able to start posting some solutions and tips as well.
Cup-A-Cino
I want to thank everyone who help me to build my cpgnuke, know the final layout look great, makes the user want to register.....thanks alot guys
TRANCEBUDHA
Hey thanks for the quick replies..hehe.. ya I am trying to check out cpg-nuke on the same server.. anyways.. www.sizzle.no-ip.com /ufo just a test site main php-nuke is www.sizzle.no-ip.com and forums www.sizzle.no-ip.com /forums It seems so far that cpg-nuke is quit a bit faster than php-nuke.. thanks again
sixpack
CPG-Nuke and its support community ROCKS!
James D Kirk
CPGNuke is making phpnuke look like hammered dog-crap so far...
Persistence
Just installed the latest version of CPG and I'm lovin' it!
square
love CPG!
Mecro
man i just took a look at the demo ADMIN and you guys truly did a remarkable job.. this blows PHPNuke away... dirtbagThank You, cpgnuke.
Thank You All that are behind that wonderful script.
Truden
Excellent Coppermine with safemod :)
Work fine with safemod
nice Job
RehaThank You, cpgnuke.
I am amazed at what CPG Nuke has to offer... JamesSelvageGreat site. Great software. ShermD3Well I got my first CPGNuke site up! (huzzah?) I must say of the 5 site I run, 4 of which are PHP-Nuke sites I'm most impressed GeoffMThis install was SOOO smooth. Great job guys! I love it! dcorwinHey CPG-Nuke Dev Team!! Wow!!!!...pretty much sums it up.
I love cpgnuke and I've only had it a couple days now. sabioneGreat system you developed here. Thanks !
cwweb
X-links
Preview theme
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners We are not responsible for comments posted by our users, as they are the property of the poster. Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Side Generering tog 0.3529 sekunder og 16 Database Opkald på 0.0318 sekunder Memory Usage: 3.38 MB
Interactive software released under GNU GPL,
Code Credits,
Privacy Policy