text editor with line numbers
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
Irvine
Newbie


Joined: Dec 14, 2007
Posts: 27
Location: Edinburgh Scotland

PostPost subject: text editor with line numbers
Posted: Tue Dec 18, 2007 8:12 am
Reply with quote

While trying to create a coppermine album, I discovered a small bug in my albgr.php.

Quote:
CMS Warning line 75: On /dragonfly/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:\xampp\htdocs\dragonfly\modules\coppermine\albmgr.php on line: 111

While help with fixing this is always appreciated, what I really need is a text editor with line numbers. Can anybody recommend a PHP wysyg editor, (preferable free.) or a even a simple text editor with line numbers. Laughing


Irvine's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CentOS Apache_2.0 Mysql_5.0 PHP_5.2 Dragonfly_9.1
Back to top
View user's profile
Phoenix
Site Admin


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

PostPost subject: Re: text editor with line numbers
Posted: Tue Dec 18, 2007 8:15 am
Reply with quote

The fix for that is the top sticky topic in the Coppermine forum.

You should only ever use a utf8 compatible editor like Notepad2 (free) or UltraEdit (commercial) - there are various others mentioned in FAQ, Wiki and the language forums.


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


Joined: Dec 14, 2007
Posts: 27
Location: Edinburgh Scotland

PostPost subject: Re: text editor with line numbers
Posted: Tue Dec 18, 2007 3:31 pm
Reply with quote

Thanks phoenix. Very Happy

I just had a look at that sticky by the way. I am amazed at your patience when dealing with us ignorant peasant's Shocked


Irvine's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CentOS Apache_2.0 Mysql_5.0 PHP_5.2 Dragonfly_9.1
Back to top
View user's profile
Phoenix
Site Admin


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

PostPost subject: Re: text editor with line numbers
Posted: Tue Dec 18, 2007 3:46 pm
Reply with quote

It's a bit of an odd one - it's not really a coppermine issue but we put the sticky in coppermine coz that's how it manifests itself. As you will have noticed, you are one of very many caught by it so, we just keep merging the topics Smile

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Page 1 of 1


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.3911 seconds with 16 DB Queries in 0.1107 seconds
Memory Usage: 2.88 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy