Donations

Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
User Info
Välkommen Anonym
Medlemskap:
Senaste: Witewolf
Nya idag: 0
Nya igår: 0
Genomsnittligt: 151
Besökare on-line:
Medlemmar: 0
Besökare: 31
Bots: 2
Totalt: 33
Vem är här inne:
Besökare:Pro News Articles
Pro News Articles
Support Forums
Nedlastninger
Support Forums
Nedlastninger
Mi Cuenta
Téléchargement
Support Forums
Pro News Articles
Support Forums
Support Forums
Support Forums
Pro News Articles
Pro News Articles
Descargas
Support Forums
Pro News Articles
Pro News Articles
Nedladdningar
Downloads
Nedladdningar
Pro News Articles
Support Forums
Pro News Articles
Support Forums
Support Forums
Pro News Articles
التحمي
Descargas
Pro News Articles
Bots:Google > Pro News Articles
Baidu > Support Forums
Ansvariga inloggade:
Inga ansvariga inloggade!
Can't post article
Can't post article
Skrivet: Tor Oct 29, 2009 11:23 am
I just installed fresh copy of Pro_News on my local test site running
Apache 2.2.11
PHP 5.3.0
MySQL 5.1.40
No configuration changed. Tried to publish a test article and get this:
CMS Warning line 73: On /df10/admin.php?op=Pro_News&mode=add&do=save While executing query "INSERT INTO df10_pronews_articles VALUES(NULL, "1", "First Article", "This is my first article intro.", "This is the article itself.", "1256814714.7237.gif", "Mario", "1", "Madis", "1", "1256814910", "1", "1", "1", "1", NULL, "0", "", "2", "1", "0", "0", "1256814714.9411.jpg", "The A-Team is back", "", "", "", "", "", "", "", "", "", "", 0,0,0, "", "", "", "1")" the following error occured: Incorrect integer value: '' for column 'df_topic' at row 1 In: D:\Programmid\wamp\www\df10\modules\Pro_News\admin\admin_functions.php on line: 1168
The sql statement is a bid bad, as there is no field names given in the INSERT statement (may cause problems if people upgrade ProNews etc).
Madis please enter your server specs in your user profile!

Madis- Poster

- Inlägg: 12
- Blev medlem: Apr 14, 2008
Re: Can't post article
Skrivet: Tor Oct 29, 2009 10:28 pm
- MadisThe sql statement is a bid bad, as there is no field names given in the INSERT statement (may cause problems if people upgrade ProNews etc).
Causes me problems, yes!
But even if named, if I forget to add extra field I still get a potentially hidden, latent error, rather than one picked up and thrown in my face by MySQL. So I've not been sure that's really a better choice.
- MadisMySQL 5.1.40
I don't have anything later than 5.0.x. So does 5.1 enforce strict? It seems that some parts of code put df_topics as 0, but some as NULL. Need to look into that - should be 0. (Adding df_topics was more trouble than it was worth - lots of demand, but not sure if anyone uses ...) Will let you know ...
Thanks for the report.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Inlägg: 1229
- Blev medlem: Mar 18, 2006
Re: Can't post article
Skrivet: Sön Nov 01, 2009 6:29 pm
OK, I've managed to reproduce. I upgraded to MySQL 5.1(.37) but that didn't do it. (Although it did give me a number of "Deprecated" errors at top of the page, which destroy reDesign, so i had to resarch and fiox those first!)
So then I found how to enable STRICT_TRANS_TABLES and that did it. I found several more similar problems, besides the one you reported, so I've fixed them all. Will test in the morning and release.
Have also found a potentially serious bug (unrelated), so will re-release with all fixes asap.
Thanks again! (I'll keep my dev system in STRICT_TRANS_TABLES mode from now on!
)
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Inlägg: 1229
- Blev medlem: Mar 18, 2006
Re: Can't post article
Skrivet: Tor Nov 05, 2009 5:02 am
Great to hear that!
Actually there are some GROUP BY bugs with my localhost system in dragonfly itself, so it seems I don't have the best testing environment at the moment.
Madis please enter your server specs in your user profile!

Madis- Poster

- Inlägg: 12
- Blev medlem: Apr 14, 2008
Re: Can't post article
Skrivet: Sön Nov 08, 2009 9:10 am
Fixed version available for download.
Thanks again for the problem report.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Inlägg: 1229
- Blev medlem: Mar 18, 2006
Re: Can't post article
Skrivet: Ons Nov 18, 2009 10:33 am
Out of interest what are the changed files in 3.2.1 from 3.2.0?
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif- BetaTester

- Inlägg: 492
- Blev medlem: Aug 01, 2007
- Från: Chantilly, France
Re: Can't post article
Skrivet: Ons Nov 18, 2009 10:46 am
As listed at bottom of Downloads page.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Inlägg: 1229
- Blev medlem: Mar 18, 2006
Re: Can't post article
Skrivet: Ons Nov 18, 2009 11:43 am
It was the changed files I was thinking of rather than the changes...
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif- BetaTester

- Inlägg: 492
- Blev medlem: Aug 01, 2007
- Från: Chantilly, France
Re: Can't post article
Skrivet: Ons Nov 18, 2009 12:30 pm
Heck, I can't remember! Lucky for you that I use Linux not Widnoze ... Even then it wasn't straightforward.
I presume you really meant 3.2.1.1 vs 3.2.1.0?:
Only in Pro_News 3.2.1.1/Pro_News/images/pro_news: left_scrollb.gif Only in Pro_News 3.2.1.1/Pro_News/images/pro_news: left_scroll.gif Only in Pro_News 3.2.1.1/Pro_News/images/pro_news: right_scrollb.gif Only in Pro_News 3.2.1.1/Pro_News/images/pro_news: right_scroll.gif File Pro_News 3.2.1.1/Pro_News/modules/Pro_News/admin/admin_functions.php differs File Pro_News 3.2.1.1/Pro_News/modules/Pro_News/functions.php differs File Pro_News 3.2.1.1/Pro_News/themes/default/style/pro_news.css differs File Pro_News 3.2.1.1/Pro_News/themes/default/template/pronews/article/index2fcs.html differ Only Pro_News 3.2.1.1/Pro_News/themes/default/template/pronews/article: index2fcs-nh.html
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Inlägg: 1229
- Blev medlem: Mar 18, 2006
Re: Can't post article
Skrivet: Ons Nov 18, 2009 2:55 pm
Fantastic thank you for that - didn't mean to give you more work!! (except that hack request though!) ![]()
rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/4.1.22/5.2.17/9.3.3.1

rosbif- BetaTester

- Inlägg: 492
- Blev medlem: Aug 01, 2007
- Från: Chantilly, France
Du kan inte svara på inlägg i det här forumet
Du kan inte ändra dina inlägg i det här forumet
Du kan inte ta bort dina inlägg i det här forumet
Du kan inte rösta i det här forumet
Du kan inte bifoga filer i det här fourmet
Du kan inte ladda ner filer i detta forum
Alla tider är GMT











