Hi, I had mistakes when I added articles
Incorrect integer value: '' for column 'category' at row 1
äðùû: T:\home\localhost\1\Sources\TPmodules.php
line: 615
line 614,615
db_query("INSERT INTO {$tp_prefix}articles (date,body,intro,useintro,category,frontpage,subject,authorID,author,frame,approved,off,options,parse,comments,comments_var,views,rating,voters,ID_THEME,shortname,fileimport)
VALUES('$artd','$artbb','$arti','$artu','$artc','$artf','$arts','$nameb','$name','$artframe','$artpp','0','$artoptions',0,0,'',0,'','',0,'','$artimp')", __FILE__, __LINE__);
and in the download manager when i added files from FTP in to dl_manager database
open file TPdlmanager.php
$body .= '<hr><b>áúðÃ'‡Ã°Ã'‚Ã'Å':</b><br>'.$scripturl.'?action=tpmod;dl=item'.$newitem;
replace
$body .= '[hr /][b]áúðÃ'‡Ã°Ã'‚Ã'Å':[/b][br /]'.$scripturl.'?action=tpmod;dl=item'.$newitem;
P.S How can i fix error in articles?
Hi Limteam, welcome to TP...
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581) This will help us to help you if we know the info we request.
sorry. ok
Link to my site: it's my testing site in my computer. i was translated in to russian language TP 1.0 b3
SMF version: 1.1.8
TP version: 1.0. b3
Theme name and version: Default
Mods installed: None
Related Error messages:
1.
Incorrect integer value: '' for column 'category' at row 1
äðùû: T:\home\localhost\1\Sources\TPmodules.php
line: 615
2.Invalid argument supplied for foreach()
äðùû: T:\home\localhost\1\Sources\TPSubs.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 458
3.usort() [<a href='http://www.php.su/functions/?function.usort'>function.usort</a>]: The argument should be an array
äðùû: T:\home\localhost\1\Sources\TPSubs.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 457
4.Undefined offset: 0
äðùû: T:\home\localhost\1\Sources\TPSubs.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 451
5.Undefined index: tp_article_shortname
äðùû: T:\home\localhost\1\Sources\TPmodules.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 596
6.Undefined index: tp-imagesizes
äðùû: T:\home\localhost\1\Themes\default\languages\TPShout.russian.php (main sub template - eval?)
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 891
7.Undefined variable: nshouts
äðùû: T:\home\localhost\1\tp-files\tp-modules\TPShout\Sources\TPShout.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 496
8.imagedestroy(): supplied argument is not a valid Image resource
äðùû: T:\home\localhost\1\Sources\TPcommon.php
9.imageconvolution() expects parameter 1 to be resource, boolean given
äðùû: T:\home\localhost\1\Sources\TPcommon.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 126
10.Undefined variable: img
äðùû: T:\home\localhost\1\Sources\TPcommon.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 125
11.imagecreatetruecolor() [<a href='http://www.php.su/functions/?function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions
äðùû: T:\home\localhost\1\Sources\TPcommon.php
áÃ'‚Ã'â,¬Ã¾ÃºÃ°: 106
12.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 ' 0, 1, SUBSTRING('for notepad', 1, 255), SUBSTRING('<hr><b>Download' at line 4
äðùû: T:\home\localhost\1\Sources\Subs-Post.php
?
If you use English as default, does these errors show up then to ?
Also, what image handler do you have installed to your local server, i think TP uses a server image handler to render the images, sizes etc.
It would seem that your language files are incomplete, that the "-no name-" text isn't translated. Thats causing the errors if you left out the title in a article, normally it would be then filled with a generic text.
I see why the HTML codes would show up, when creating a new topic through DL Manager, mine has "basic HTML" turned on lol. :P I'll change the code.
"Undefined variable" - it meens that i have a trouble with translation.
some variables are not in english translation.
Link: /index.php?action=tpadmin;sa=artsettings after Display print icon in articles? i have
80x40
400x200
You have forgotten to write value
$txt['tp-imagesizes'] = 'Image sizes';
in TPortalAdmin.english
2 G6
Sorry but i don't know what image resizer i have installed at my server.as for me G2 module.
server's name STPServer. Where can i aee that information (about my image handler)?
Yes, I did. In fact, that whole image-size section isn't used :p..its now fixed for TP v1.0 beta4.