[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
ocala-kaylee
Newbie


Joined: Jun 16, 2007
Posts: 5

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 16, 2007 6:24 pm
Reply with quote

ocala-kaylee wrote:
I have updated cssmainmenu.php and i still get

includes\db\db.php
CMS 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: C:\http\modules\coppermine\albmgr.php on line: 111

help

ocala kaylee

As you see in my post! I downloaded the file i put it in the correct location, and still have the error!!!!!!


ocala-kaylee's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winxp/iis 6/mysql5.0/php5.2/9.1.2.1
Back to top
View user's profile Visit poster's website
sarah
Debugger


Joined: Mar 25, 2005
Posts: 2131

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 16, 2007 7:03 pm
Reply with quote

What's on line 159 of the one on your site?
_________________
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
Back to top
View user's profile Send e-mail Visit poster's website
ocala-kaylee
Newbie


Joined: Jun 16, 2007
Posts: 5

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 16, 2007 8:48 pm
Reply with quote

Line 159 of which file? My error is in line 111 of albmgr.php and it reads $result = $db->sql_query("SELECT aid, title, pos, description, thumb FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = ORDER BY pos ASC");

Please forgive me for I am very new to this stuff.


ocala-kaylee's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winxp/iis 6/mysql5.0/php5.2/9.1.2.1
Back to top
View user's profile Visit poster's website
sarah
Debugger


Joined: Mar 25, 2005
Posts: 2131

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 16, 2007 8:55 pm
Reply with quote

cssmainmenu.php
_________________
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
Back to top
View user's profile Send e-mail Visit poster's website
ocala-kaylee
Newbie


Joined: Jun 16, 2007
Posts: 5

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 16, 2007 8:58 pm
Reply with quote

158 $content .= $CLASS['adminmenu']->display($ccat, 'cssmenu');
159 }
160
161 $content .= "\n</ul>\n";


ocala-kaylee's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winxp/iis 6/mysql5.0/php5.2/9.1.2.1
Back to top
View user's profile Visit poster's website
mactabilis
Newbie


Joined: Jun 15, 2007
Posts: 38

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sun Jun 17, 2007 10:53 pm
Reply with quote

yes i put the file in the includes and im getting this error now,

Code:
Notice: Undefined variable: ccat in /var/www/localhost/htdocs/public_html/includes/cssmainmenu.php on line 92

I get it when i try to upload a image.


mactabilis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
/Linux_Gentoo/Apache 2.2/mysql 14.12/PHP 5.2.2-pl1-gentoo/CPGNuke 9.1.2.1/
Back to top
View user's profile
sarah
Debugger


Joined: Mar 25, 2005
Posts: 2131

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Jun 18, 2007 12:29 am
Reply with quote

It's just a notice. Does the image not upload?
_________________
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
Back to top
View user's profile Send e-mail Visit poster's website
mactabilis
Newbie


Joined: Jun 15, 2007
Posts: 38

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Jun 18, 2007 9:22 am
Reply with quote

sarah wrote:
It's just a notice. Does the image not upload?

No the image does not upload i just get that message ,I thought it would be the fact that the site was still running on my localhost,But in theory it should still upload maybe i have permission problem somewhere?
Any help would be great thanks Smile


mactabilis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
/Linux_Gentoo/Apache 2.2/mysql 14.12/PHP 5.2.2-pl1-gentoo/CPGNuke 9.1.2.1/
Back to top
View user's profile
ocala-kaylee
Newbie


Joined: Jun 16, 2007
Posts: 5

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Jun 18, 2007 10:24 am
Reply with quote

My error is from when I try to make the album.
This is starting to get aggravating.

Thanks for all the help I get.


ocala-kaylee's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
winxp/iis 6/mysql5.0/php5.2/9.1.2.1
Back to top
View user's profile Visit poster's website
heliown
Heavy poster


Joined: Jan 23, 2007
Posts: 251
Location: USA

PostPost subject: Coppermine album error.
Posted: Fri Jun 22, 2007 2:56 am
Reply with quote

Hi folks,
I just installed the Dragon 9.2.1 when trying to create public albums, would someone help me to understand and share with me the hints ot fix it?

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/rchelic2/public_html/modules/coppermine/albmgr.php on line: 111

I use php 5.1.6 and MySQL 5.0.27


heliown's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Mysql 5.1.41/php 5.2.5/CPGNuke 9.2.1
Back to top
View user's profile Visit poster's website
heliown
Heavy poster


Joined: Jan 23, 2007
Posts: 251
Location: USA

PostPost subject: Re: Coppermine album error.
Posted: Fri Jun 22, 2007 3:16 am
Reply with quote

I found the fix. Hey everybody don't do like I did. Search first. I feel shame now. Again Dragonfly Development team is alwasys the best.
_________________
RC heli hobby: www.rchelicoptertown.com
Khmer Community: www.angkorthom.us

heliown's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Mysql 5.1.41/php 5.2.5/CPGNuke 9.2.1
Back to top
View user's profile Visit poster's website
Wizzard308
Nice poster


Joined: Jun 24, 2007
Posts: 89
Location: Tennessee

PostPost subject: Re: Coppermine album error.
Posted: Sun Jun 24, 2007 6:50 am
Reply with quote

you ask for a fix, find a fix yet dont share the fix on the forum? dont you think it would be respectful to share your knowledge with others?

Wizzard308's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/apache/4.1.21/4.4.2/9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


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

PostPost subject: Re: Coppermine album error.
Posted: Sun Jun 24, 2007 7:52 am
Reply with quote

@Wizzard308: heliown probably search our forums and he found the fix by him self.

Hint: dragonflycms.org/Forums/search.html

_________________
.:: 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
heliown
Heavy poster


Joined: Jan 23, 2007
Posts: 251
Location: USA

PostPost subject: Re: Coppermine album error.
Posted: Sun Jun 24, 2007 4:20 pm
Reply with quote

Wizzard308, what NanoCaiordo is right it is not my fix it is a fix on this forum that I should have searched it. What I can say is I admire and owe the Dragon community so much that I would do whatever I can to help. So don't worry if I know anything, I'll share.
_________________
RC heli hobby: www.rchelicoptertown.com
Khmer Community: www.angkorthom.us

heliown's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Mysql 5.1.41/php 5.2.5/CPGNuke 9.2.1
Back to top
View user's profile Visit poster's website
MemoryDump
Newbie


Joined: Dec 21, 2005
Posts: 9
Location: Ontario, Canada

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

I get the exact same error when I try to create a new album Sad

any ideas?


MemoryDump's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
latest
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 5 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 0.6096 seconds with 16 DB Queries in 0.0375 seconds
Memory Usage: 3.02 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy