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

Offline Offline
Joined: Jun 16, 2007
Posts: 5

PostPosted: Sat Jun 16, 2007 6:24 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sat Jun 16, 2007 7:03 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Newbie

Offline Offline
Joined: Jun 16, 2007
Posts: 5

PostPosted: Sat Jun 16, 2007 8:48 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Sat Jun 16, 2007 8:55 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Newbie

Offline Offline
Joined: Jun 16, 2007
Posts: 5

PostPosted: Sat Jun 16, 2007 8:58 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Newbie

Offline Offline
Joined: Jun 15, 2007
Posts: 38

PostPosted: Sun Jun 17, 2007 10:53 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Debugger

Offline Offline
Joined: Mar 25, 2005
Posts: 2130

PostPosted: Mon Jun 18, 2007 12:29 am
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Newbie

Offline Offline
Joined: Jun 15, 2007
Posts: 38

PostPosted: Mon Jun 18, 2007 9:22 am
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Newbie

Offline Offline
Joined: Jun 16, 2007
Posts: 5

PostPosted: Mon Jun 18, 2007 10:24 am
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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
Heavy poster

Offline Offline
Joined: Jan 23, 2007
Posts: 250
Location: USA
PostPosted: Fri Jun 22, 2007 2:56 am
Post subject: Coppermine album error.

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
Heavy poster

Offline Offline
Joined: Jan 23, 2007
Posts: 250
Location: USA
PostPosted: Fri Jun 22, 2007 3:16 am
Post subject: Re: Coppermine album error.

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
Nice poster

Offline Offline
Joined: Jun 24, 2007
Posts: 89
Location: Tennessee
PostPosted: Sun Jun 24, 2007 6:50 am
Post subject: Re: Coppermine album error.

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
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jun 24, 2007 7:52 am
Post subject: Re: Coppermine album error.

@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! ::.

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
heliown
Heavy poster
Heavy poster

Offline Offline
Joined: Jan 23, 2007
Posts: 250
Location: USA
PostPosted: Sun Jun 24, 2007 4:20 pm
Post subject: Re: Coppermine album error.

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
Newbie

Offline Offline
Joined: Dec 21, 2005
Posts: 9
Location: Ontario, Canada
PostPosted: Sun Jun 24, 2007 8:38 pm
Post subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1

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 Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 5 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.

Lees meer...

   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