Search in support tickets

#13 – upgrade from 3.1.8 to 3.1.11 errors

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 17 August 2017 17:46 CEST
adarr
Joomla! version : 3.7.4
PHP version : 5.6.30
AdsManager version : 3.1.11

Getting the following errors on all pages and in the search module.

After upgrading, I did save the configuration again.

Example error:

"Notice: Undefined variable: catid in /home/astecuse/public_html/components/com_adsmanager/lib/route.php on line 73"

Thanks,
Alan
Custom Fields
Joomla Version
3.7.4
PHP Version
5.6.30
Product
AdsManager
Product Version
3.1.11
Attachment
Friday, 18 August 2017 00:40 CEST
juloaadmin
Hello,

you can remove this notice by editing this file
and change

$view = "result".$catid;

by

$view = "result".@$catid;

This will be fixed in future release
 
Friday, 18 August 2017 14:41 CEST
adarr
I have looked at the route.php file and do not see that string.

There is one similar -

$view = "details".$catid;

Maybe that one?

Thanks
Monday, 21 August 2017 08:22 CEST
loic
Hello,

In that condition you can see three line that use the catid variable.
You can do the modification for each of those line (line 70, 73 and 76).

the file is 'components/com_adsmanager/lib/route.php'.

Best regards.
 
Tuesday, 22 August 2017 16:29 CEST
adarr
OK

Here is what I have for those lines:

69) if ($view == "details") {
70)    $view = "details".$catid;
71)    $originalview = "details";
72) } else {
73)    $originalview = $view;
74)    }
75)	
76) if(empty($itemid[$view]))
77)    {


I see .$catid in line 70, but nowhere else.

Thanks!
Wednesday, 23 August 2017 08:48 CEST
loic
Hello,

Did you try to use the solution ? Even if there if just one $catid variable used, it will work.

Best regards.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.