[fixed] Error Creating/Modifying Albums with 9.1.2.1
Start Nytt Emne   Dette emnet er stengt: Du kan ikke endre innlegget eller svare på det.   Utskriftsvennlig side     Forum HovedsidenCoppermine
Av Innlegg
NanoCaiordo
Developer


Ble medlem: Jun 29, 2004
Innlegg: 3651
Bosted: Melbourne, AU

InnleggTittel: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Skrevet: Søn Jun 24, 2007 8:41 pm
Svar med Sitat

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()
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
SwordmanJr
Newbie


Ble medlem: Jul 31, 2007
Innlegg: 1

InnleggTittel: Coppermine Database errors on MySQL 5.0.27
Skrevet: Tir Jul 31, 2007 12:13 pm
Svar med Sitat

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/
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Thraxion
Newbie


Ble medlem: Jul 31, 2007
Innlegg: 19

InnleggTittel: Coppermine Error
Skrevet: Fre Aug 03, 2007 4:28 am
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
museo8bits
Newbie


Ble medlem: Aug 20, 2007
Innlegg: 1
Bosted: Madrid, Spain

InnleggTittel: Re: Coppermine Database errors on MySQL 5.0.27
Skrevet: Man Aug 20, 2007 6:59 pm
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
NanoCaiordo
Developer


Ble medlem: Jun 29, 2004
Innlegg: 3651
Bosted: Melbourne, AU

InnleggTittel: Re: Coppermine Database errors on MySQL 5.0.27
Skrevet: Man Aug 20, 2007 11:12 pm
Svar med Sitat

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()
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
IS_Webbie
Newbie


Ble medlem: Aug 17, 2007
Innlegg: 33
Bosted: Cedar Rapids, IA

InnleggTittel: Re: Coppermine album error.
Skrevet: Tor Aug 23, 2007 9:09 pm
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside AIM Adresse MSN Messenger Yahoo Messenger
retroactiv
Newbie


Ble medlem: Aug 26, 2007
Innlegg: 3

InnleggTittel: Moved: Coppermine SQL Error
Skrevet: Søn Aug 26, 2007 4:24 am
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Jeruvy
Security Team


Ble medlem: Apr 23, 2004
Innlegg: 1433
Bosted: Canada

InnleggTittel: Re: Coppermine SQL Error
Skrevet: Man Aug 27, 2007 4:39 pm
Svar med Sitat

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}
Til Toppen
Vis Medlemets Profil ICQ Nummer Yahoo Messenger
huynhvhai
Newbie


Ble medlem: Nov 25, 2007
Innlegg: 1
Bosted: Da Nang

InnleggTittel: Problem: Create / order my albums!
Skrevet: Søn Nov 25, 2007 7:04 am
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Phoenix
Site Admin


Ble medlem: Apr 19, 2004
Innlegg: 8723
Bosted: Netizen

InnleggTittel: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Skrevet: Søn Nov 25, 2007 9:59 am
Svar med Sitat

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

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
warden
Silver Supporter


Ble medlem: Des 16, 2004
Innlegg: 196
Bosted: North Carolina

InnleggTittel: coppermine warning (error) after install
Skrevet: Fre Nov 30, 2007 5:29 pm
Svar med Sitat

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)
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
layingback
Forum Admin


Ble medlem: Apr 19, 2004
Innlegg: 944

InnleggTittel: Re: coppermine warning (error) after install
Skrevet: Fre Nov 30, 2007 7:03 pm
Svar med Sitat

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
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
magnuscanada
Newbie


Ble medlem: Des 03, 2007
Innlegg: 1
Bosted: Prince George BC Canada

InnleggTittel: Coppermine error received after installing?
Skrevet: Man Des 03, 2007 11:51 pm
Svar med Sitat

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! Rødmer


magnuscanada's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
I have no idea.
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Mel
Forum Admin


Ble medlem: Jul 21, 2004
Innlegg: 1395
Bosted: Eastern Time Zone

InnleggTittel: Re: Gallery Issues - New user - recently installed
Skrevet: Tir Des 04, 2007 12:00 am
Svar med Sitat

Welcome to df community

moved to help section.

Vink


Mel's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Phoenix
Site Admin


Ble medlem: Apr 19, 2004
Innlegg: 8723
Bosted: Netizen

InnleggTittel: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Skrevet: Tir Des 04, 2007 1:04 am
Svar med Sitat

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)
Til Toppen
Vis Medlemets Profil Besøk Medlemets Nettside
Vis Innlegg fra:   
Start Nytt Emne   Dette emnet er stengt: Du kan ikke endre innlegget eller svare på det.   Utskriftsvennlig side     Forum HovedsidenCoppermine Alle klokkeslett er GMT
Gå til side Forrige  1, 2, 3, 4, 5, 6, 7  Neste
Side 6 av 7


Gå til:  
Du kan ikke starte nye emner i dette forumet
Du kan ikke svare på emner i dette forumet
Du kan ikke endre dine egne innlegg i dette forumet
Du kan ikke slette dine egne innlegg i dette forumet
Du kan ikke delta i avstemninger i dette forumet
Du kan ikke legge til filer i dette forumet
Du kan ikke laste ned filer fra dette forumet

stopsoftwarepatents.eu petition banner
User Info [x]

Velkommen Anonym

Brukernavn
Passord
(Registrer)

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
Side Generering tok 1.0521 sekunder og 19 Database Oppkall på 0.3782 sekunder
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy