1
dadoprom
News 1.3 problems...
  • 2005/2/11 20:55

  • dadoprom

  • Not too shy to talk

  • Posts: 143

  • Since: 2004/3/2 1


Hello, I need help with fixing new NEWS 1.3 module version. Everything works fine except one problem: I can't submit no NEWS. Alltought it looks like it is submitted, it is not and it doesn't even show any Warnings. I use XOOPS 2.0.6 and need help how to fix or downgrade to NEWS 1.2.

it says this Quote:
Chyby
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined index: topic_color in file modules/news/blocks/news_topicsnav.php line 65
Notice [PHP]: Undefined offset: 2 in file modules/extcal/blocks/extcal_minical.php line 150
Notice [PHP]: Use of undefined constant _XT_TE_BLOCO - assumed '_XT_TE_BLOCO' in file modules/xt_temas/blocks/xt_temas.php line 6
Notice [PHP]: Constant _AM_EXPARTS already defined in file modules/news/language/svk/admin.php line 80
Notice [PHP]: Constant _AM_EXPIRED already defined in file modules/news/language/svk/admin.php line 81
Notice [PHP]: Constant _AM_CHANGEEXPDATETIME already defined in file modules/news/language/svk/admin.php line 82
Notice [PHP]: Constant _AM_SETEXPDATETIME already defined in file modules/news/language/svk/admin.php line 83
Notice [PHP]: Constant _AM_NOWSETEXPTIME already defined in file modules/news/language/svk/admin.php line 84
Notice [PHP]: unserialize(): Error at offset 0 of 374 bytes in file kernel/configitem.php line 100

--------------------------------------------
and this
-------------------------------------------
Queries
SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '1846b3e6819f010b65ffacd8ca30bd58'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'news'
SELECT * FROM xoops_config WHERE (conf_modid = 2) ORDER BY conf_order ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
SELECT * FROM xoops_stories WHERE (published = 0)
SELECT * FROM xoops_stories WHERE published > 1108156372 ORDER BY published ASC
SELECT s.*, t.topic_frontpage FROM xoops_stories s, xoops_topics t WHERE (published > 0 AND published <= 1108156372) AND (expired = 0 OR expired > 1108156372) AND (s.topicid=t.topic_id) ORDER BY s.published DESC LIMIT 0, 20
SELECT * FROM xoops_topics WHERE topic_id=13
SELECT * FROM xoops_topics WHERE topic_id=2
SELECT * FROM xoops_topics WHERE topic_id=6
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=11
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=3
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=3
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=6
SELECT * FROM xoops_topics WHERE topic_id=14
SELECT * FROM xoops_topics WHERE topic_id=8
SELECT * FROM xoops_topics WHERE topic_id=11
SELECT * FROM xoops_topics WHERE topic_id=14
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=2
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=13
SELECT * FROM xoops_users WHERE uid=36
SELECT * FROM xoops_topics WHERE topic_id=2
SELECT * FROM xoops_users WHERE uid=6
SELECT * FROM xoops_topics WHERE topic_id=6
SELECT * FROM xoops_users WHERE uid=9
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_users WHERE uid=5
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=11
SELECT * FROM xoops_users WHERE uid=4
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=3
SELECT * FROM xoops_users WHERE uid=10
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_topics WHERE topic_id=3
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_users WHERE uid=35
SELECT * FROM xoops_topics WHERE topic_id=6
SELECT * FROM xoops_topics WHERE topic_id=14
SELECT * FROM xoops_topics WHERE topic_id=8
SELECT * FROM xoops_topics WHERE topic_id=11
SELECT * FROM xoops_topics WHERE topic_id=14
SELECT * FROM xoops_topics WHERE topic_id=10
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_topics WHERE topic_id=2
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_topics WHERE topic_id=7
SELECT * FROM xoops_stories WHERE expired <= 1108156373 AND expired > 0 ORDER BY expired DESC LIMIT 0, 10
SELECT * FROM xoops_modules WHERE dirname = 'news'
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'news_submit' AND gperm_modid = 2 AND (gperm_groupid = 1 OR gperm_groupid = 2))
SELECT topic_id, topic_title FROM xoops_topics WHERE (topic_pid=0) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=10) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=12) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=4) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=2) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=13) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=7) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=3) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=14) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=6) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=11) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_topics WHERE (topic_pid=8) AND topic_id IN (11,10,14,8,7,6,13,4,3,2,12) ORDER BY topic_title
SELECT * FROM xoops_users
SELECT * FROM xoops_smiles WHERE display=1
SELECT * FROM xoops_smiles WHERE display=1
Total: 75 queries

Blocks
Total: 0 blocks

Execution Time
XOOPS took 0.17267918586731 seconds to load.

Extra

--------------------------------------------
and this
------------------------------------------------
smartty debbug says only> ERRORS


help, thanx

2
hervet
Re: News 1.3 problems...
  • 2005/2/11 21:08

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Have you updated the module with :
http://www.example.com/modules/news/admin/upgrade.php

After this, update the module in the modules manager
And if you can, update your XOOPS version.

Bye,
Herve

3
ddevore
Re: News 1.3 problems...
  • 2005/3/12 4:31

  • ddevore

  • Just popping in

  • Posts: 47

  • Since: 2005/3/8 1


I have a problem with the 1.3 version. I have updated the module using the update.php but in the main page I am getting the following error.

Notice [PHP]: Undefined offset: 14 in file modules/news/blocks/news_top.php line 291

Any thoughts?

4
hervet
Re: News 1.3 problems...
  • 2005/3/12 12:01

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


this is not an error, just a notice.
Any other problem ?

5
ddevore
Re: News 1.3 problems...
  • 2005/3/12 14:15

  • ddevore

  • Just popping in

  • Posts: 47

  • Since: 2005/3/8 1


Quote:

hervet wrote:
this is not an error, just a notice.
Any other problem ?


This is comming up in the main page and doesn't look good to the users. How can I get rid of this, I don't want things like this reported to my users.

6
Shine
Re: News 1.3 problems...
  • 2005/3/12 16:13

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Just disable phpdebug within your admin/preference settings. Something you should do when your website is online.

Grtz., Shine

7
ddevore
Re: News 1.3 problems...
  • 2005/3/12 17:31

  • ddevore

  • Just popping in

  • Posts: 47

  • Since: 2005/3/8 1


Quote:

Shine wrote:
Just disable phpdebug within your admin/preference settings. Something you should do when your website is online.

Grtz., Shine


I have all debuging turned off.. but I still get it and messages from other modules also.

Login

Who's Online

72 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 72


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits