Fatal error - module upload!

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2009, 10:15 AM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 11
After install (clear) Pligg 1.0 RC3, when insert a new content i have this error:

Warning: 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 'fields, IF(LEFT(b.file_name,4)='http',b.file_name,CONCAT('/modules/upload/attach' at line 1 in /www/htdocs/link/libs/db.php on line 241

Can tou help me to fix it!?
Reply With Quote
  #2 (permalink)  
Old 03-28-2009, 10:41 AM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 11
Else 1 small bug: in title of the content - sign " becomes "
Can i to lock this function?
Sorry for my bed english.
Reply With Quote
  #3 (permalink)  
Old 03-28-2009, 11:03 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
I think the first error might be caused if you are upgrading from an older version of the module and haven't re-installed it. Whenever you are upgrading modules you should uninstall them then re-install them.

I'll look into the quote sign being changed to "

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #4 (permalink)  
Old 03-28-2009, 11:07 AM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 11
I have not updated the old version. This is a clean installation, and engine and databases!!!
Reply With Quote
  #5 (permalink)  
Old 03-28-2009, 11:33 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
In that case I will definitely have someone look into what might have caused this. Expect a reply on Monday or Tuesday.

In the future please post bugs to: http://forums.pligg.com/projects.html

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #6 (permalink)  
Old 03-28-2009, 11:46 AM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 11
Than'ks. I'm waiting.
Reply With Quote
  #7 (permalink)  
Old 03-28-2009, 05:53 PM
New Pligger
Pligg Version: 1.0.0
 
Join Date: Jan 2009
Posts: 11
I can't post bugs to: Pligg CMS Projects | Report Bugs, Request Features. New error after adding a duplicate categories:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /www/vietnews/www/htdocs/link/libs/html1.php on line 253
Warning: Invalid argument supplied for foreach() in /www/vietnews/www/htdocs/link/libs/html1.php on line 261

after the removal of this category - Error remains the same
Reply With Quote
  #8 (permalink)  
Old 05-14-2009, 10:39 PM
Donor
 
Join Date: Jun 2007
Posts: 289
someone told me they have had same problem on this thread

Code:
Warning: 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 'fields, IF(LEFT(b.file_name,4)='http',b.file_name,CONCAT('/modules/upload/attach' at line 1 in /home/hostname/domains/domainname.com/public_html/libs/db.php on line 241
they use MySql4, Is this the cause ?
Reply With Quote
Reply

Tags
error, module, upload, warning

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 268 02-03-2012 12:19 PM
A "better" function to generate thumbs for upload module. bilicc Questions and Comments 3 08-25-2009 05:02 AM
Fileupload doesn't actually upload files swese44 Questions and Comments 3 04-26-2008 01:48 AM
Latest SVN - Image Upload v0.4 broken? aaronpais Questions and Comments 3 05-22-2007 04:19 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Questions and Comments 8 04-10-2007 08:22 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development