Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Customization from the Admin / "Reviews Pending Approval" Link is active, but no reviews pending... problem...

"Reviews Pending Approval" Link is active, but no reviews pending... problem...

Locked

Started by dontknowwhatimdoing on 8 Aug 2008, 2:06 AM · Views: 4,185

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Aug 2008, 2:06 AM
#1
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

"Reviews Pending Approval" Link is active, but no reviews pending... problem...

"Reviews Pending Approval" Link is active, but no reviews pending... problem...

I made a test review on one of the sample database items, and I deleted the item without approving the review.

I noticed that when I added the review, the "Reviews Pending Approval" Link became active.

Now, the link is staying active no matter what, and I can't fix it since the pending review was deleted, along with the deleted item. When I go to the reviews pending page, it's empty--there's nothing there.

It seems there some database flag that got switched on which wont switch off...

Where/ how can I find the database entry to delete that will set things back to normal? (so that the pending review link is only active when there's actually a pending review).

8 Aug 2008, 5:08 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

Go to phpMyAdmin in your site's control panel and browse your database table for:
reviews
reviews_description

If you have valid reviews ... then browse the 2 tables for that products_id

If you have no valid reviews ... then you can just Truncate (Empty) them ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Aug 2008, 6:20 PM
#3
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

Both tables were already empty, but just to be safe I went ahead & deleted the data on both.

Unfortunately the same problem described above persists--

8 Aug 2008, 6:23 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

The link only becomes active if there are records present in the reviews table and are marked as needing approval.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Aug 2008, 6:37 PM
#5
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

:(

Looks like there's nothing I can do to fix it then-the tables are empty and somehow it still lights up...

it's quite strange really

8 Aug 2008, 6:38 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

Browser cache?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Aug 2008, 7:10 PM
#7
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

the mysql & file based cache are both empty--

and i cleared my browser cache as well

maybe i altered the original file somehow, but it seems unlikely.

12 Aug 2008, 4:01 AM
#8
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: "Reviews Pending Approval" Link is active, but no reviews pending... problem...

this little link is lit up still--

it's like a fly that i want to swat but can't!

I wish I was smart enough to figure out how to fix this lol