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


Joined: Dec 14, 2005
Posts: 80
Location: ljubljana, slovenia

PostPost subject: 9.1.2.1 coppermine problem
Posted: Mon Apr 02, 2007 4:21 pm
Reply with quote

hi i just instaled the 9.1.2.1. version, and only problem that i have is with coppermine when i click on the options Albums this error shows:

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

i ceacked and allfiles are uploaded. so how to fix this problem.


IgorMM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux , 2.0 , 5.0.51a , 5.2.6 , 9.1.2.1
Back to top
View user's profile Visit poster's website
layingback
Forum Admin


Joined: Apr 19, 2004
Posts: 953

PostPost subject: Re: 9.1.2.1 coppermine problem
Posted: Mon Apr 02, 2007 4:36 pm
Reply with quote

Look here http://dragonflycms.org/Forums/viewtopic/t=19139.html
_________________
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
IgorMM
Nice poster


Joined: Dec 14, 2005
Posts: 80
Location: ljubljana, slovenia

PostPost subject: Re: 9.1.2.1 coppermine problem
Posted: Mon Apr 02, 2007 4:47 pm
Reply with quote

thx

IgorMM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux , 2.0 , 5.0.51a , 5.2.6 , 9.1.2.1
Back to top
View user's profile Visit poster's website
IgorMM
Nice poster


Joined: Dec 14, 2005
Posts: 80
Location: ljubljana, slovenia

PostPost subject: Re: Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Apr 02, 2007 4:57 pm
Reply with quote

this fix isnt wery good. the problem isnt solwed 100%, yes the option Album worsk, but when you create a album, and go propertis for that album and when you chouse the option:
Visitors can upload pictures YES and change to NO and clikc update album, then again it shows YES and cant be changet to NO. and all the time the album shows that there are no pictures in the album, (but the pictures Are in the album). like you can se in the picture:


IgorMM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux , 2.0 , 5.0.51a , 5.2.6 , 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: Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Apr 02, 2007 6:32 pm
Reply with quote

That's a different issue than the one described in this thread. Please enable all debugging options ( admin.php?op=settings&s=8 ) and post the error when you try to change options.
_________________
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
IgorMM
Nice poster


Joined: Dec 14, 2005
Posts: 80
Location: ljubljana, slovenia

PostPost subject: Re: Error Creating/Modifying Albums with 9.1.2.1
Posted: Mon Apr 02, 2007 9:58 pm
Reply with quote

here are the all errors that show for the coppermine:

Quote:
modules/coppermine/include/load.inc

* 0.0004 - LINE 81: SELECT prefix, dirname FROM cms_cpg_installs ORDER BY cpg_id
* 0.0004 - LINE 98: SELECT value FROM cms_cpg_config WHERE name='nice_titles'

includes/coppermine/init.inc

* 0.0006 - LINE 52: SELECT * FROM cms_cpg_config
* 0.0008 - LINE 72: SELECT * FROM cms_cpg_usergroups WHERE group_id = 3

modules/coppermine/modifyalb.php

* 0.0004 - LINE 360: SELECT * FROM cms_cpg_albums WHERE aid='4'
* 0.0006 - LINE 329: SELECT aid, IF(username IS NOT NULL, CONCAT('(', username, ') ', title), CONCAT(' - ', title)) AS title FROM cms_cpg_albums AS a LEFT JOIN cms_users AS u ON category = (10000 + user_id) ORDER BY title
* 0.0005 - LINE 48: SELECT cid, catname, description FROM cms_cpg_categories WHERE parent = '0' AND cid != 1 ORDER BY pos
* 0.0005 - LINE 177: SELECT pid, filepath, filename, url_prefix FROM cms_cpg_pictures WHERE aid='4' AND approved='YES' ORDER BY filename
* 0.0005 - LINE 260: SELECT group_id, group_name FROM cms_cpg_usergroups WHERE 1

includes/cssmainmenu.php

* 0.0007 - LINE 42: SELECT m.title as link, m.custom_title as title, m.view, m.active, m.inmenu, m.cat_id, m.pos AS linkpos, c.name, c.image, c.pos AS catpos, c.link AS catlnk, c.link_type AS cattype FROM cms_modules AS m LEFT JOIN cms_modules_cat c ON (c.cid = m.cat_id)
* 0.0006 - LINE 58: SELECT l.title, l.link, l.link_type, l.view, l.active, l.cat_id, l.pos AS linkpos, c.name, c.image, c.pos AS catpos, c.link AS catlnk, c.link_type AS cattype FROM cms_modules_links AS l LEFT JOIN cms_modules_cat c ON (c.cid = l.cat_id)


IgorMM's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux , 2.0 , 5.0.51a , 5.2.6 , 9.1.2.1
Back to top
View user's profile Visit poster's website
lovelyd
Newbie


Joined: Apr 22, 2007
Posts: 8

PostPost subject: Errors Using 9.1.2.1 on gator hosting
Posted: Sun Apr 22, 2007 11:51 pm
Reply with quote

Please help, this error message appears when I attempt to create alblums:

includes/db/db.php

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


lovelyd's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Errors Using 9.1.2.1 on gator hosting
Posted: Mon Apr 23, 2007 4:55 am
Reply with quote

dragonflycms.org/Forum...tml#124359
_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
andres25cba
Newbie


Joined: May 29, 2007
Posts: 6

PostPost subject: Coppermine album problem
Posted: Fri Jun 01, 2007 5:50 pm
Reply with quote

Quote:
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 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/users/92/darksite/www/www.darkb.com.ar/modules/coppermine/albmgr.php on line: 111

this happens when i try to go to the ALBUMS section.

Any idea?


andres25cba 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
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Fri Jun 01, 2007 7:09 pm
Reply with quote

I am presuming the fix is in this thread - you provide absolutely no helpful info in your server specs to help us help you. "5986" is extremely meaningless.
_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
andres25cba
Newbie


Joined: May 29, 2007
Posts: 6

PostPost subject: Re: [fixed] Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 02, 2007 12:30 am
Reply with quote

mmm... this is my zip code.

I dk why it is there..

what do you want to know?


andres25cba please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
andres25cba
Newbie


Joined: May 29, 2007
Posts: 6

PostPost subject: Re: Error Creating/Modifying Albums with 9.1.2.1
Posted: Sat Jun 02, 2007 1:58 am
Reply with quote

sarah wrote:


Code:
$cat = intval(isset($_POST['cat']) ? $_POST['cat'] : (isset($_GET['cat']) ? $_GET['cat'] : 0));

Done! Ty So Much!!!!

Problem fixed.


andres25cba please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
bartp
Newbie


Joined: Jun 10, 2007
Posts: 6

PostPost subject: A database error has occurred
Posted: Sun Jun 10, 2007 10:24 am
Reply with quote

After a new installation of Dragonfly, when trying to use the album link, i get this error, does someone know what is wrong

thanks,


Debug information:

Array
(
[theme] => wsg_ZoneCopper
[session_time] => 1181456391
[session_start] => 1181449535
[comments] => Array
(
[mode] =>
[order] => 0
[thold] => 0
)

[admin] => Array
(
[page] =>
)

[user] => Array
(
[page] => coppermine
[file] => albmgr
[uri] => /nl/index.php?name=coppermine&file=albmgr&cat=0
)

[update_monitor] => Array
(
[current] => 9.1.2.1
=> 1
[msg] => Array
(

=> Array
(
[vers] => 9.1.2.1
[title] => 9.1.2.1 Released
[desc] => [url=http://dragonflycms.org/Downloads/details/id=28.html]Download Here] => dragonflycms.org/Downl...id=28.html
[num] => 1
[msg] => Array
(

=> Array
(
[vers] => 9.1.2.1
[title] => 9.1.2.1 Released
[desc] => [url=http://dragonflycms.org/Downloads/details/id=28.html]Download Here
[date] => 1174348968
)

)

)

)


bartp's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CMS Version 9.1.2.1 , PHP Version 4.3.9 , MySQL Version 4.1.20 (client: 4.1.20) , GD Version bundled (2.0.28 compatible)
Back to top
View user's profile Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: A database error has occurred
Posted: Sun Jun 10, 2007 10:33 am
Reply with quote

That is not an error. It is Coppermine's allery Debug information. You can disable it by going to Coppermine's settings and disabling debug setting, which is the bottom of page.

Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Eestlane
I18N / L10N Lead Dev


Joined: Apr 06, 2005
Posts: 1406
Location: Estonia

PostPost subject: Re: A database error has occurred
Posted: Sun Jun 10, 2007 10:34 am
Reply with quote

Some typos...

That is not an error. It is Coppermine's Gallery Debug information. You can disable it by going to Coppermine's settings and disabling debug setting, which is in the bottom of page.


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail 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 3 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

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
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 1.5338 seconds with 16 DB Queries in 0.2047 seconds
Memory Usage: 3.2 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy