[fixed] Error Creating/Modifying Albums with 9.1.2.1
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexCoppermine
Author Message
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sun Jun 24, 2007 8:41 pm
Reply with quote

dragonflycms.org/Forum...tml#124359
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
SwordmanJr
Newbie


Joined: Jul 31, 2007
Posts: 1

PostPost subject: Coppermine Database errors on MySQL 5.0.27
Posted: Tue Jul 31, 2007 12:13 pm
Reply with quote

Could someone tell me what this means, and how to fix it?

This is what I get when trying to create an album in a category:

includes/db/db.php
CMS Warning line 75: On /index.php?name=coppermine&file=albmgr While executing query "SELECT aid, title, pos, description, thumb FROM dfy_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/tpascout/public_html/modules/coppermine/albmgr.php on line: 111


SwordmanJr's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
UNIX/apache 1.3.37/mysql 5.0.27/php 5.1.6/
Back to top
View user's profile Visit poster's website
Thraxion
Newbie


Joined: Jul 31, 2007
Posts: 19

PostPost subject: Coppermine Error
Posted: Fri Aug 03, 2007 4:28 am
Reply with quote

I am getting this error

Code:
MS Warning line 75: On /index.php?name=coppermine&file=albmgr&cat=1 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: /home/content/t/h/r/thraxion/html/modules/coppermine/albmgr.php on line: 111

I know there is a fix for this error:
http://dragonflycms.org/Forums/viewtopic/t=19139/start=16.html

But even after installing the fix, I am still haveing the problem. I have searched and still, nothing.

Help would be greatly appreciated, thanks.


Thraxion's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
4.4
Back to top
View user's profile Visit poster's website
museo8bits
Newbie


Joined: Aug 20, 2007
Posts: 1
Location: Madrid, Spain

PostPost subject: Re: Coppermine Database errors on MySQL 5.0.27
Posted: Mon Aug 20, 2007 6:59 pm
Reply with quote

I have equal problem, but solution is simple. Edit albmgr.php and at line 106 :

REMOVED BY NANO

And all OK
Remember do make first a backup of the file.

_________________
---
Saludos
Miguel Durán
www.museo8bits.com
wiki.museo8bits.es
www.dominiopublico.org

museo8bits's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Ubuntu 7.04/Apache 2.2.3-3.2ubuntu/MySQL 5.0.38/PHP 5.2.1/9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: Coppermine Database errors on MySQL 5.0.27
Posted: Mon Aug 20, 2007 11:12 pm
Reply with quote

dragonflycms.org/Forum...tml#124359
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
IS_Webbie
Newbie


Joined: Aug 17, 2007
Posts: 33
Location: Cedar Rapids, IA

PostPost subject: Re: Coppermine album error.
Posted: Thu Aug 23, 2007 9:09 pm
Reply with quote

I'd like to know what forum cuz i am an idiot and cant find it or sumthin.

IS_Webbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Red Hat / Apache 2.0 / MySQL 5.0 / PHP 5.0 / CPG 9.1.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
retroactiv
Newbie


Joined: Aug 26, 2007
Posts: 3

PostPost subject: Moved: Coppermine SQL Error
Posted: Sun Aug 26, 2007 4:24 am
Reply with quote

I'm getting this error on coppermine after a user who has never uploaded a picture before uploaded a picture. I've been using coppermine for quite sometime and have never had a problem. Any ideas?


Quote:
CMS Warning line 75: On /coppermine/albmgr/cat=1.html 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: /webroot/r/e/retro004/www/modules/coppermine/albmgr.php on line: 111


retroactiv's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 1.3/5.0.46-enterprise-gpl-log (client: 5.0.42)/4.4.7-pl0-gentoo/9.1.2.1
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: Coppermine SQL Error
Posted: Mon Aug 27, 2007 4:39 pm
Reply with quote

Please use the search function, this question has already been answered and now even has it's own sticky.
_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger
huynhvhai
Newbie


Joined: Nov 25, 2007
Posts: 1
Location: Da Nang

PostPost subject: Problem: Create / order my albums!
Posted: Sun Nov 25, 2007 7:04 am
Reply with quote

This warning appear when i click "Create / order my albums" - Module Photo Galery
----------------------------
includes/db/db.php

* CMS Warning line 75: On /photo/index.php?name=coppermine&file=albmgr&cat=1 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: /home/trangchu/public_html/photo/modules/coppermine/albmgr.php on line: 111
------------------------------
Help me!


huynhvhai's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sun Nov 25, 2007 9:59 am
Reply with quote

The fix is in this Coppermine topic that your post has been moved to.

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
warden
Silver Supporter


Joined: Dec 16, 2004
Posts: 196
Location: North Carolina

PostPost subject: coppermine warning (error) after install
Posted: Fri Nov 30, 2007 5:29 pm
Reply with quote

I just updated a site from 9061 to 9.1.2.1. The upgrade produces this error in coppermine. The albums that were created by the administrator admin account are fine, but on the only album created by a user, the same admin account, it shows this message when trying to edit the album.
Also, and I don't know if it is related but, the only way to view the album(s) is to have the "Show first level album thumbnails in categories" set to yes. With this set to "No", the links to the album will load the album page but there are no albums to view, only empty space. However, with this set to yes, they show normally, except the user gallery, which does not show anything.

Can anybody advise what is wrong or what needs to be corrected with this error?

Quote:
CMS Warning line 75: On /coppermine/albmgr/cat=0.html While executing query "SELECT aid, title, pos, description, thumb FROM fun_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/account-name/public_html/modules/coppermine/albmgr.php on line: 111

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
layingback
Forum Admin


Joined: Apr 19, 2004
Posts: 953

PostPost subject: Re: coppermine warning (error) after install
Posted: Fri Nov 30, 2007 7:03 pm
Reply with quote

Try this (Sticky at top of Coppermine Forum).
_________________
Pro_News: The complete module for Dragonfly - now available as version 3.3

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1
Back to top
View user's profile Visit poster's website
magnuscanada
Newbie


Joined: Dec 03, 2007
Posts: 1
Location: Prince George BC Canada

PostPost subject: Coppermine error received after installing?
Posted: Mon Dec 03, 2007 11:51 pm
Reply with quote

Here is the error:
includes/db/db.php

* CMS Warning line 75: On /index.php?name=coppermine&file=albmgr&cat=0 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: /home/.mimmi/joosting/magnuscanada.com/modules/coppermine/albmgr.php on line: 111


****
I'm new to dragonfly so I'm not really sure where to be posting this. I'm also impatient because I can't always figure out why something isn't working...but if someone points it out I can definitely rectify a problem if pointed in the right direction.

My php version is 5.5.2 and mysql is the latest. I didn't have any troubles with the install. I am just figuring that I missed a step? Any help would be appreciated.

Frustrated in Canada! Embarassed


magnuscanada's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
I have no idea.
Back to top
View user's profile Visit poster's website
Mel
Forum Admin


Joined: Jul 21, 2004
Posts: 1395
Location: Eastern Time Zone

PostPost subject: Re: Gallery Issues - New user - recently installed
Posted: Tue Dec 04, 2007 12:00 am
Reply with quote

Welcome to df community

moved to help section.

Wink


Mel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Tue Dec 04, 2007 1:04 am
Reply with quote

Actually, despite the very un-helpful "I have no idea" server specs, a quick search reveals the answer lies in this top-listed sticky topic.

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

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
Support GoPHP5.org
This page generated in 1.2937 seconds with 19 DB Queries in 0.2627 seconds
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy