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
  •  

Poster 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! Pleurant ou Très Malheureux  
 
 
 
  
18 May '10 Tue May 18, 2010 21:20    
layingback
Site Admin  
  •  

Poster 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 Format imprimable  facebook   google+   linkedin   twitthis  
Show more ...


Contrôle des Permissions des Forums - Vous ne pouvez pas poster de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas voter dans les sondages de ce forum
You cannot attach files in this forum
You cannot download files in this forum