Jump to content

Classifieds System

Featured Replies

 

I just switched IPS 4.7.2.1 to PHP 8.0 and classifieds works fine

Info is much appreciated – thanks a lot!

Andreas

  • 3 weeks later...
  • Replies 2.1k
  • Views 198.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • UPDATE Classifieds 2.0 with new shipment feature will be release (with invisionHQ black friday offers) on 23 November 2019. 

  • InvisionHQ
    InvisionHQ

    Hi guys, I will try to do my best to continue the excellent work already done on the app by @Adriano Faria.

  • A little update on the roadmap of this app: 2.1 Advert filters #1 (prices, types, conditions) (Feb 2020) 2.2 Feedback system (March 2020) 2.2 MyClassifieds Page (March 2020) 2.3 Advert filters #2

Posted Images

First I wanted to thank you @InvisionHQ for such a great, well rounded, solid application.

Curious if you plan on making it possible for users to filter advertisements by State or within so many miles.  Since the website attracts users from all over the world, it would be great to limit what they see based on location.  Feels like you are so close since we can add location for the products but I don't see anything really using that besides the map (which I like by the way) just want to make it easier for users to find products near them.

Thanks for your continued support

Do you know when the Feedback integration might be completed?  We rely on that heavily at the moment, but would like to switch from forums to Classifieds. 

thanks,

Steve 

Not sure if I'm the only one, but getting a white screen of death with the current version of Classifieds (on 4.7.3). Only two of my apps are still doing it and Classifieds System, I believe, is indeed one of them.

Thoughts?

 

Not sure if I'm the only one, but getting a white screen of death with the current version of Classifieds (on 4.7.3). Only two of my apps are still doing it and Classifieds System, I believe, is indeed one of them.

Thoughts?

it's the same here

The author of the application has not been online here for 15 days. Тhis app will not have new versions soon

 

it's the same here

The author of the application has not been online here for 15 days. Тhis app will not have new versions soon

:angry:

Just tested this on my beta install of stock 4.7.3 with php 8.1 and I get the white screen of death as well. 

I wonder if it has to do with this message in the AdminCP.

 

Could contain: Text

same here, my entire forum has gone replaced with this message. It happened when I did a forum software update today. I'm pretty sure this happened before and I was able to get rid of it by disabling classifieds, but now the forum has gone I can't get into the admin control to disable it again. Anyone know how I can access my admin panel with the forum gone to switch classified off?       

Fatal error: Declaration of IPS\classifieds\_Advert::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) must be compatible with IPS\Content\_Item::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null) in /home/treasure/public_html/forums/applications/classifieds/sources/Advert/Advert.php on line 605

 

same here, my entire forum has gone replaced with this message. It happened when I did a forum software update today. I'm pretty sure this happened before and I was able to get rid of it by disabling classifieds, but now the forum has gone I can't get into the admin control to disable it again. Anyone know how I can access my admin panel with the forum gone to switch classified off?       

Fatal error: Declaration of IPS\classifieds\_Advert::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) must be compatible with IPS\Content\_Item::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null) in /home/treasure/public_html/forums/applications/classifieds/sources/Advert/Advert.php on line 605

Could try removing the classifieds directory on the server. 

Thanks Chris, I'll need to contact my hosting company to do that. Do you know if there is a url which will lead to my admin control panel so I can try to log in and disable it? 

I too have errors with the Classifieds application when enabled on 4.7.3 running php 8.x and the only way to get my site to display is to disable classifieds.  Hoping an update is coming since I do like the app

 

Thanks Chris, I'll need to contact my hosting company to do that. Do you know if there is a url which will lead to my admin control panel so I can try to log in and disable it? 

Just go to your site and put /admin at the end 

Thanks Chris, I'm in , seeing lots of errors, classified seems to be disabled already, I'll have a look and see if I can fix it. 

How to manually patch it yourself - at your own risk...

Assumptions made:

  1. You are self-hosted
  2. You know how to use FTP
  3. You know how to edit a PHP file
  4. The only file involved here is /applications/classifieds/sources/Advert/Advert.php 

Steps:

  • Download that file to your PC
  • Open it in an editor (Windows -> Notepad will do)
  • Find the line that has public static function getItemsWithPermission( in it
  • Add ,$location = NULL inside the closing bracket - immediately after $showMovedLinks=FALSE
  • Save the file, upload back to server

If it doesn't work, then disable the app and wait for the developer to get to it.

 

Edited by Nathan Explosion

Thanks Nathan, I got into the control panel switched classifieds on then off again and now the forum is back, classifieds no longer work which is a pity as it was working before with php 8.x 

Shoot, now I’m getting another error with php 8.1 and ips 4.7.3. 
 

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.]]

 

Edited by Chris027

I rolled back to php 7.4 and the error is gone. 

I have no clue if this can help anyone, help me, but here is what I think I see in the logs.

 

Error - ...applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()...

line 192 ...

\IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'view' )->view( $this->advert, $commentsAndReviews, $this->advert->nextItem(), $this->advert->prevItem(), $cfields, $otherAdverts, $otherCatAdverts );

 

 

Error - ...applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()...

line 59

parent::execute();

 

His profile shows that @InvisionHQ has not visited the IPS board since September 24. I am just so tired of having to beg devs to do the work we paid for as customers. Classifieds is not a feature application, it is a monetizing application whose non-functioning hurts us all. Here’s hoping……. ðŸ™„ @InvisionHQ maybe you can sell or cede the application to a dev who has more time on their hands? Just a thought.

 

I'm working on a fix.
I'll try to upload a new release today.

Thank you for your patience.

Thanks. Great to hear. We all appreciate it!

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

 

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

I’m guessing this won’t address the issue I posted above. Bummer. 
Even when using the stock IPS theme I see the issue.  
Any clues how I can troubleshoot it to figure it out?

 

Any clues how I can troubleshoot it to figure it out?

have you edit Classifieds template?

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.