Jump to content

Classifieds System


Recommended Posts

Posted
10 minutes ago, InvisionHQ said:

have you edit Classifieds template?

I don’t believe so, but will check. 
If I’ve editors it, it will show the little edited symbol next to it, right?

Posted
3 minutes ago, InvisionHQ said:

Could contain: Text, Electronics, Computer, Label

If revert button is active then the template was modified.

An example:

Could contain: Text

This will be in Themes > Edit HTML/CSS> Classifieds …?

Posted
12 minutes ago, InvisionHQ said:

yes, but you need to check the right template that generate the error.

Excellent. This is enough to get me started, tracking down my issue. 
 

Thanks so much. 

Posted (edited)
4 hours ago, InvisionHQ said:

have you edit Classifieds template?

OK, I just checked the Classifieds template and see no edits. You can see on this one "view" referenced in the error, the Revert button is grayed out. 

Could contain: Text

 

I also just created a new stock theme and didn't change anything. Switched to that theme, and still got the error about the template.

Last, the template error only displays when I view a product for sale in the classifieds. 

Edited by Chris027
Posted

I continue to try to figure out what's up with this. I have a beta site up running PHP 8.1 and IPS 4.7.3. The beta site doesn't show the error. Here's the complete error on the production site:

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /mywebsite/system/Theme/Theme.php(885) : eval()'d code:5688
Stack trace:
#0 /mywebsite/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_classifieds_front_view->view()
#1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()
#2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage()
#3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()
#5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute()
#6 /mywebsite/index.php(13): IPS\_Dispatcher->run()
#7 {main}




BACKTRACE

#0 /mywebsite/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
#1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()
#2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage()
#3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()
#5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute()
#6 /mywebsite/index.php(13): IPS\_Dispatcher->run()
#7 {main}

 

Posted (edited)

OK @InvisionHQ I found the issue. When I have the option to Show other adverts from the same category enabled, everything works perfect.

 

As soon as I disable this option, I get the template error. 

 

Could contain: Text, Page, Text Message

 

 

This one also causes the template issue, but only when it's disabled.

 

Could contain: Text, Page

Edited by Chris027
Posted

As a temp fix, I created a .hide css class with display:none and added it to the view template of Classifieds. This way I can display enable the items without showing them. 

Posted
On 10/14/2022 at 2:43 PM, InvisionHQ said:

I've upload now in the marketplace Classifieds v2.3.5 with the fix for 
Fatal error: Declaration of IPS\classifieds\_Advert::getItemsWithPermission

No issue identified with php8.


Could contain: Text, Business Card, Paper

Marketplace still showing as 'Classifieds v2.3.4'.

Is there a way to manually apply this fix for now ?

Posted
On 10/16/2022 at 12:00 PM, JaiKai said:

Marketplace still showing as 'Classifieds v2.3.4'.

Is there a way to manually apply this fix for now ?

I can see its now updated and I've managed to get the latest version installed and working.

  • 2 weeks later...
Posted
On 10/22/2022 at 12:11 PM, panzerscope said:

Looking forward to V3 myself as decided to hold back my core platform upgrade as I don't want the Market place to die lol. 

Yes, Classifeds has been updated to solve a problem with 4.7.3.
I have no timeline for new features, such as making the app independent of Commerce.

Posted
Just now, Donald Meek said:

where is my update how much it wants me to buy again

ips is screwy this way

 

Mate, what I posted to you works for ALL resources. Go to the page I linked you and renew there.

Posted

How can I update the plugin?

The marketplace doesn't letting me install it because "An application is already installed that uses the same Application Key, this application cannot be installed unless the other is removed", and I also can't download an actual file to upload it manually...

I don't want to remove the existing installtion and install again because I don't want to risk losing data.

 

Posted (edited)
34 minutes ago, Omri Amos said:

How can I update the plugin?

The marketplace doesn't letting me install it because "An application is already installed that uses the same Application Key, this application cannot be installed unless the other is removed", and I also can't download an actual file to upload it manually...

I don't want to remove the existing installtion and install again because I don't want to risk losing data.

 

Nevermind, I was able to link my so-called "custom" app to the marketplace item on the db, and then update the app from the marketplace.

Edited by Omri Amos
  • 1 month later...
  • 2 weeks later...
Posted

Hello,

Following the update the ads are not opening. 

What is the solution?

[[Template classifieds/front/view/view is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Posted
19 hours ago, InvisionHQ said:

Try to run support tools. It seems that some templates are not updated.

I guess so, it looks like it. however, I haven't found the solution to upgrade the app. If I delete it and upload it again, will our data is going to be lost? what is the best way to resolve this issue? 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...