Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ [fixed] Error Creating/Modifying Albums with 9.1.2.1 :: Archived


[fixed] Error Creating/Modifying Albums with 9.1.2.1 :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Post new topic    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jun 24, 2007 8:41 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

dragonflycms.org/Forum...tml#124359

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


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

Offline Offline
Joined: Jul 31, 2007
Posts: 1

PostPosted: Tue Jul 31, 2007 12:13 pm
Post subject: Coppermine Database errors on MySQL 5.0.27

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
Newbie

Offline Offline
Joined: Jul 31, 2007
Posts: 19

PostPosted: Fri Aug 03, 2007 4:28 am
Post subject: Coppermine Error

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
Newbie

Offline Offline
Joined: Aug 20, 2007
Posts: 1
Location: Madrid, Spain
PostPosted: Mon Aug 20, 2007 6:59 pm
Post subject: Re: Coppermine Database errors on MySQL 5.0.27

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
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Mon Aug 20, 2007 11:12 pm
Post subject: Re: Coppermine Database errors on MySQL 5.0.27

dragonflycms.org/Forum...tml#124359

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


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

Offline Offline
Joined: Aug 17, 2007
Posts: 33
Location: Cedar Rapids, IA
PostPosted: Thu Aug 23, 2007 9:09 pm
Post subject: Re: Coppermine album error.

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
Newbie

Offline Offline
Joined: Aug 26, 2007
Posts: 3

PostPosted: Sun Aug 26, 2007 4:24 am
Post subject: Moved: Coppermine SQL Error

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
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Mon Aug 27, 2007 4:39 pm
Post subject: Re: Coppermine SQL Error

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 Photo Gallery
huynhvhai
Newbie
Newbie

Offline Offline
Joined: Nov 25, 2007
Posts: 1
Location: Da Nang
PostPosted: Sun Nov 25, 2007 7:04 am
Post subject: Problem: Create / order my albums!

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
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Sun Nov 25, 2007 9:59 am
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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 Photo Gallery
warden
Silver Supporter
Silver Supporter

Offline Offline
Joined: Dec 16, 2004
Posts: 196
Location: North Carolina
PostPosted: Fri Nov 30, 2007 5:29 pm
Post subject: coppermine warning (error) after install

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
Forum Admin

Offline Offline
Joined: Apr 19, 2004
Posts: 1040

PostPosted: Fri Nov 30, 2007 7:03 pm
Post subject: Re: coppermine warning (error) after install

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 Photo Gallery
magnuscanada
Newbie
Newbie

Offline Offline
Joined: Dec 03, 2007
Posts: 1
Location: Prince George BC Canada
PostPosted: Mon Dec 03, 2007 11:51 pm
Post subject: Coppermine error received after installing?

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
Forum Admin

Offline Offline
Joined: Jul 21, 2004
Posts: 1386
Location: Eastern Time Zone
PostPosted: Tue Dec 04, 2007 12:00 am
Post subject: Re: Gallery Issues - New user - recently installed

Welcome to df community

moved to help section.

Wink


Mel please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Tue Dec 04, 2007 1:04 am
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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 Photo Gallery
Display posts from previous:   
Post new topic    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 6 of 7
All times are GMT
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

leia mais...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy