Error on /admin/import.inc on line 43

3.3 Forum ONLY: If you've run into a problem, such as an error message, blank page, or similar problem, this is where to look. Post any installation or other problems or questions here, and I and other users will try to help.
  
18 May '10 Tue May 18, 2010 19:31    
greenday2k
Sponsor  Sponsor
  •  

Post Error on /admin/import.inc on line 43

Error on: module/Pro_News/admin/import.inc

PN Version: Pro_News 3.3.1.1
$Revision: 3.5 $
$Date: 2010-03-29 14:55:11

Line 43: Missing a pair of single quotes.

PHP:

$sql2
= 'INSERT INTO '.$prefix.'_pronews_articles VALUES(NULL, "1", "'.Fix_Quotes($row['title'],0,0).'", "'.Fix_Quotes($row['hometext'],0,0).'", "'.Fix_Quotes($row['bodytext'],0,0).'", NULL, NULL,"1", "'.$row['informant'].'", "0", "'.$row['time'].'", "0", "1", "1", "0", NULL, "0", "'.$row['alanguage'].'", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "'.$row['score'].'", "'.$row['ratings'].'", "'.$row['topic'].'", "", "", ".$row['ihome'].")';




See: "'.$row['ihome'].'" at the end of the line:

PHP:

$sql2
= 'INSERT INTO '.$prefix.'_pronews_articles VALUES(NULL, "1", "'.Fix_Quotes($row['title'],0,0).'", "'.Fix_Quotes($row['hometext'],0,0).'", "'.Fix_Quotes($row['bodytext'],0,0).'", NULL, NULL,"1", "'.$row['informant'].'", "0", "'.$row['time'].'", "0", "1", "1", "0", NULL, "0", "'.$row['alanguage'].'", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "'.$row['score'].'", "'.$row['ratings'].'", "'.$row['topic'].'", "", "", "'.$row['ihome'].'")';



greenday2k please enter your server specs in your user profile! Crying or Very sad  
 
 
 
  
18 May '10 Tue May 18, 2010 21:20    
layingback
Site Admin  
  •  

Post Re: Error on /admin/import.inc on line 43

Thanks!



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
Link  QR 
Share this Printer Friendly Page  facebook   google+   linkedin   twitthis  
Show more ...


Forum Permissions - 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