Topic-icon JFBC 7.1 not working with jReview

Active Subscriptions:

None
9 years 6 months ago - 9 years 6 months ago #60151 by espkri
After updating to the new 7.1 version, i´m not able to submit new listings to jReview anymore. If i disable the system plugin, everything works.

Step to reproduce:
- create a user
- add a new listing

The forms loops, and dosn´t load.

If you enable the jReview opengraph plugin, and tries to access all reviews: www.in2city.com/review/rotita-com/reviews you will get a error 0 message. Let me know if you need access to debug these issues.

ps: i have disabled the jfbc plugins
Last edit: 9 years 6 months ago by espkri.
The topic has been locked.
Support Specialist
9 years 6 months ago #60152 by mel
Ugh. It's the issue that never ends... We had to do a slight tweak to the previous code before since it broke some other things. Are your FTP credentials still the same? If you want to send me backend credentials too, I can turn on the Open Graph plugin only for when I'm testing or you can do it - I should have some time in about an hour to get on to try to debug this.
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago #60153 by espkri
Just sent you a mail
The topic has been locked.
Support Specialist
9 years 6 months ago #60156 by mel
All right. These are two separate issues.

If you enable the jReview opengraph plugin, and tries to access all reviews: www.in2city.com/review/rotita-com/reviews you will get a error 0 message. Let me know if you need access to debug these issues.

In the /plugins/opengraph/jreviews/jreviews.php, I replaced some code in the setOpenGraphTags() method. I've left the old code commented out if you want to check the differences. Honestly I have no idea why the other code was failing, but the workaround does exactly the same thing. I can try to get this to fail on our test sites to delve into why.

After updating to the new 7.1 version, i´m not able to submit new listings to jReview anymore. If i disable the system plugin, everything works.
Step to reproduce:
- create a user
- add a new listing
The forms loops, and dosn´t load.

I narrowed this down to a block of code that we added for 7.1 to try to determine the best og:url tag, by following canonical links on the page. In /libraries/sourcecoast/openGraph.php around line 456, I put the code in an if block with "if($document->getType() == 'html')" so it only executes when it should be executing. The loop was fixed.

Just in case, I've re-disabled the JFBCSystem and OpenGraph - JReviews plugins. Can you re-enable them and test it out more? I'm going to put out a 7.1.1 tonight and I will include both changes.

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 6 months ago #60159 by espkri
Great :)

I´ll do some testing tomorrow, and let you know if there is more issues. Thanks so far.
The topic has been locked.