Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / [RESOLVED] Issues with community builder after upd

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[RESOLVED] Issues with community builder after upd

More
11 years 10 months ago - 11 years 9 months ago #8845 by enrycops
Hello,
I searched the forum but didn't find a solution.
Please open link: www.whatsmeal.com/aggiornamento/index.ph...&listid=9&Itemid=335

And click on one user.
For example, this www.whatsmeal.com/aggiornamento/index.ph...&user=634&Itemid=102
I got the following error (I set the error level to maximum) and the page is not entirely loaded

Notice: Undefined variable: usermodel in /web/htdocs/www.whatsmeal.com/home/aggiornamento/modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php on line 76 Fatal error: Call to a member function getUser() on a non-object in /web/htdocs/www.whatsmeal.com/home/aggiornamento/modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php on line 76

You can open the original version of the website (live) at www.whatsmeal.com to find differences
Any advice?
I hope that in future updates will be easier to do
Thank you
Last edit: 11 years 9 months ago by enrycops. Reason: problem solved
The following user(s) said Thank You: adarr
More
11 years 10 months ago #8857 by loic
Hello,

To correct this bug, open the file 'modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php' and add 2 lines.

The first at the line 16:
require_once(JPATH_BASE.'/administrator/components/com_adsmanager/models/user.php');

And the second at the line 75, just before the if :
$usermodel = new AdsmanagerModelUser();

That must solve the problem.

Best regards.
The following user(s) said Thank You: enrycops, adarr
More
11 years 10 months ago #8863 by enrycops
Replied by enrycops on topic Issues with community builder after update
Great it works there!
But there is another similar problem with the update

If I open the link of the user profile into the Ad detail, for example this

www.whatsmeal.com/aggiornamento/index.ph...&catid=86&Itemid=278

I get this page
www.whatsmeal.com/aggiornamento/index.ph...smanagerTab&user=673

Fatal error: Using $this when not in object context in /web/htdocs/www.whatsmeal.com/home/aggiornamento/modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php on line 82

Please note that in my mod_adsmanager_adsmap.php on line 82 I have
$this->assignRef('listuser',$listuser);

Thank you for the support!
The following user(s) said Thank You: adarr
More
11 years 10 months ago #8884 by tompap
Replied by tompap on topic Issues with community builder after update
Hello,

Are you getting this when viewing "your profile" and when going to "another user profil" ,

We will check this and come back to you

Please provide us by email FTP + URL + admin account to we could check on your website (+ a link to this discussion)
The following user(s) said Thank You: adarr
More
11 years 10 months ago #8894 by enrycops
Replied by enrycops on topic Issues with community builder after update
Hello tompap!
There is no error If I'm logged in and I try to open a link MY profile from the ad.

But

If I try to open a link to another user profile, logged in or not, I get the error.

Thank you for the support. I'm going to send what you requested by mail
The following user(s) said Thank You: adarr
More
11 years 10 months ago #8905 by loic
Hello,

You can delete the line :
$this->assignRef('listuser',$listuser);

That will resolve the problem.

Best regards.
The following user(s) said Thank You: adarr
Time to create page: 0.084 seconds
Powered by Kunena Forum