1 (edited by marnevi 2016-07-08 10:01:22)

Topic: Latest Comments: "Undefined variable:"

Hi guys,
I'm using CuteNews 1.4.6 and I noted these error messages on my web site:

Notice: Undefined variable: comm_start_from in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 31

Notice: Undefined variable: start_from in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 32

Notice: Undefined variable: archive in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 33

Notice: Undefined variable: subaction in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 34

Notice: Undefined variable: id in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 35

Notice: Undefined variable: ucat in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 36

Notice: Undefined variable: category in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 46

Notice: Undefined variable: category in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 47

Notice: Undefined variable: number in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 49

Notice: Undefined variable: template in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 50

Notice: Undefined variable: show in /web/htdocs/www.pasqualemarinelli.com/home/a/inc/functions.inc.php on line 51

how can I fix?

This is the page where error messages are shown http://www.pasqualemarinelli.com/index.php?do=chisono
the same here:
http://www.pasqualemarinelli.com/contatti.php
http://www.pasqualemarinelli.com/index.php?do=plugin

P.S. I noted that only in this page there's no problem http://www.pasqualemarinelli.com/index.php

2 (edited by marnevi 2016-07-08 14:57:13)

Re: Latest Comments: "Undefined variable:"

can somebody help me?

Re: Latest Comments: "Undefined variable:"

I tried to add at the beginning of function.inc.php file this:

$comm_start_from = '';
$start_from = '';
$archive = '';
$subaction = '';
$id = '';
$ucat = '';
$number = '';
$template = '';
$show = '';
$category = '';

This solves the problem but it's the cause of an other one: pagination doesn't work anymore. How to fix?

Please help me

Re: Latest Comments: "Undefined variable:"

I solved the problem alone. Tank you all!