[fixed] Error Creating/Modifying Albums with 9.1.2.1
| Author |
Message |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3678 Location: Melbourne, AU
|
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1 Posted: Sun Jun 24, 2007 8:41 pm |
|
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 |
|
 |
SwordmanJr


Joined: Jul 31, 2007 Posts: 1
|
Post subject: Coppermine Database errors on MySQL 5.0.27 Posted: Tue Jul 31, 2007 12:13 pm |
|
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 |
|
 |
Thraxion


Joined: Jul 31, 2007 Posts: 19
|
Post subject: Coppermine Error Posted: Fri Aug 03, 2007 4:28 am |
|
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 |
|
 |
museo8bits


Joined: Aug 20, 2007 Posts: 1 Location: Madrid, Spain
|
Post subject: Re: Coppermine Database errors on MySQL 5.0.27 Posted: Mon Aug 20, 2007 6:59 pm |
|
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 |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3678 Location: Melbourne, AU
|
Post subject: Re: Coppermine Database errors on MySQL 5.0.27 Posted: Mon Aug 20, 2007 11:12 pm |
|
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 |
|
 |
IS_Webbie


Joined: Aug 17, 2007 Posts: 33 Location: Cedar Rapids, IA
|
Post subject: Re: Coppermine album error. Posted: Thu Aug 23, 2007 9:09 pm |
|
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 |
|
 |
retroactiv


Joined: Aug 26, 2007 Posts: 3
|
Post subject: Moved: Coppermine SQL Error Posted: Sun Aug 26, 2007 4:24 am |
|
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 |
|
 |
Jeruvy


Joined: Apr 23, 2004 Posts: 1433 Location: Canada
|
Post subject: Re: Coppermine SQL Error Posted: Mon Aug 27, 2007 4:39 pm |
|
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 |
|
 |
huynhvhai


Joined: Nov 25, 2007 Posts: 1 Location: Da Nang
|
Post subject: Problem: Create / order my albums! Posted: Sun Nov 25, 2007 7:04 am |
|
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 |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1 Posted: Sun Nov 25, 2007 9:59 am |
|
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 |
|
 |
warden


Joined: Dec 16, 2004 Posts: 196 Location: North Carolina
|
Post subject: coppermine warning (error) after install Posted: Fri Nov 30, 2007 5:29 pm |
|
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 |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
|
| Back to top |
|
 |
magnuscanada


Joined: Dec 03, 2007 Posts: 1 Location: Prince George BC Canada
|
Post subject: Coppermine error received after installing? Posted: Mon Dec 03, 2007 11:51 pm |
|
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!
magnuscanada's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) I have no idea. |
|
| Back to top |
|
 |
Mel


Joined: Jul 21, 2004 Posts: 1395 Location: Eastern Time Zone
|
Post subject: Re: Gallery Issues - New user - recently installed Posted: Tue Dec 04, 2007 12:00 am |
|
Welcome to df community
moved to help section.
Mel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1 Posted: Tue Dec 04, 2007 1:04 am |
|
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 |
|
 |
|
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
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|