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 / Public Forum / Main Forum / [SOLVED] Error message seeing all ads from a user

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.

× OLD Forum post could be checked here : forum.joomprod.com

[SOLVED] Error message seeing all ads from a user

More
11 years 1 month ago - 11 years 1 month ago #14444 by Purostile
Hello,

When you click on button "See all ads from [username]" the website show this error messages:

Notice: Undefined property: stdClass::$guest in /var/www/vhosts/mettilonline.it/httpdocs/web/components/com_adsmanager/views/list/view.html.php on line 208

and

Warning: Creating default object from empty value in /var/www/vhosts/mettilonline.it/httpdocs/web/modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php on line 71


Please, you should to solve this issue ASAP. Thank you.

Best regards


Attachments:
Last edit: 11 years 1 month ago by Purostile.
More
11 years 1 month ago #14480 by loic
Hello,

In 'components/com_adsmanager/views/list/view.html.php' line 208, replace:
if($user->guest){

By
if($user->id > 0){

And for the second issue.
In modules/mod_adsmanager_adsmap/mod_adsmanager_adsmap.php, Just before the line 68:
if ($conf->display_fullname) {

Add this:
if(isset($category)) {
    $category = new stdClass();
}

Best regards.
More
11 years 1 month ago #14486 by Purostile
Replied by Purostile on topic Error message when see all ads from a user
Hello,
for the first issue, you said:

In 'components/com_adsmanager/views/list/view.html.php' line 208, replace:

if($user->guest){


but the line 208 has a different sintax:
if($user->guest == false){
Should I replace only the mot «guest» with «id > 0»?

For the second issue, I've applied your suggestion, but the error still remains (now is in the line 74 of that file).

Best regards
More
11 years 1 month ago #14487 by Purostile
Replied by Purostile on topic Error message when see all ads from a user
First issue update:

Should I replace only the mot «guest» with «id > 0»?

I've tried to do as I told you... and this works! I hope I haven't done messes!

Now it still remain to solve the second issue.
More
11 years 1 month ago #14531 by loic
Hello,

For the second issue, I will try to fix it on your website.

Best regards.
More
11 years 1 month ago #14539 by loic
Hello,

I fixed that issue.

Best regards.
The following user(s) said Thank You: Purostile
Moderators: perry
Time to create page: 0.096 seconds
Powered by Kunena Forum