Unable to Post a Comment on a Guestbook

Phoca Guestbook - creating guestbooks in Joomla! CMS
tavellana
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 01 Apr 2020, 22:43

Unable to Post a Comment on a Guestbook

Post by tavellana »

Hello,
We use Phoca Guestbook to post prayer requests on the site: https://catholicradioindy.org/contact-u ... r-requests

We recently upgraded Phoca Guestbook to the current version as there was an outdated version as well as Joomla. Everything is now updated and working except for the Phoca Guestbook.

When I submit a post using the link above as a user, but I cannot see the post for review as an admin (from a procedure standpoint, we made all prayer requests reviewable before being published so as not to include spam or requests that are not prayer requests).

I am able to enter posts on the back end, however, a user on the front end cannot submit a post for review.

Any help would be very much appreciated. Thank you in advance!
Tony
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Unable to Post a Comment on a Guestbook

Post by christine »

Hi Tony,

maybe this helps: https://www.phoca.cz/documents/3-phoca- ... parameters

Options > General:
Review Item - (Yes | No) If yes, post will be displayed after the Administrator's approval
Kind regards
Christine
ipsec
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Aug 2020, 14:06

Re: Unable to Post a Comment on a Guestbook

Post by ipsec »

Hi,

iam using latest Phoca Version 3.0.11. I have exactly the same problem. I think I configured Phoca correctly, it worked for years. In the meantime I haven't changed anything, the PHP version has stayed the same, etc. When I make an entry, I also get an email and Phoca confirms receipt of the message. But I don't see the post in the backend. The post is logged, I can see that in the backend. Does anyone know what's wrong here? Link to the page: https://www.messerundscherenschleifer.de/gaestebuch

I just checked the database, there are the entries that are missing. Why don't they appear in the frontend?
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Unable to Post a Comment on a Guestbook

Post by christine »

Hi ipsec,

Nachdem Du die Seite verlinkst - Danke schön - können wir hier ja deutsch weitermachen :-)

Nehme an, es ist auf public Zugriff gestellt. Siehe hier: https://www.reisefotografien.eu/phoca-b ... e-benutzer

Werde versuchen, eine Testnachricht zu schicken. Diese kannst Du ja später löschen. (E-Mail Adresse nicht öffentlich).

Liebe Grüße
Christine

So, da bin ich wieder, nach meinen Testnachrichten (2). Glaube gesehen zu haben (ganz kurz) die Nachricht, dass diese weggegangen sei. (war ein grüner Balken). Frontend leider nichts.
Überprüfe mal, ob Du eingestellt hast, dass diese erst freigegeben werden muss. (Backend)
ipsec
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Aug 2020, 14:06

Re: Unable to Post a Comment on a Guestbook

Post by ipsec »

Hallo Christine,

danke ich habe die Bestätigung per Mail bekommen, dass Du einen Eintrag gemacht hast. Die Meldung im Frontend (grüner Balken)ist da, die wird unter dem Header gezeigt und nach dem Absenden scrollt die Seite ganz hoch, das konnte ich bisher nicht abstellen. Dein Post ist auch in der Datenbank und den Logs. Im BAckend ist alles auf öffentlich egstellt. Das Problem ist, das seit geraumer Zeit Phoca dem Eintrag keine ID mehr mitgibt, daher werden die Postings im Frontend nicht gezeigt. Und weil die Einträge keine ID haben, kann ich sie per PHPMyAdmin nicht bearbeiten.
Das ist gerade das Problem und ich habe keine Ahnung wie ich dem beikommen kann.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to Post a Comment on a Guestbook

Post by Jan »

Hallo, bin ich nicht 100% sicher, was du mit:

"... Eintrag keine ID mehr mitgibt, daher werden die Postings im Frontend nicht gezeigt"

Da ist eine Auto-Increment Spalte, so jeder Beitrag ein ID haben muss. :idea:

Code: Select all

CREATE TABLE IF NOT EXISTS `#__phocaguestbook_items` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `catid` int(11) NOT NULL default '0',
  `parent_id` int(11) NOT NULL default '0', ...
Jan
If you find Phoca extensions useful, please support the project
ipsec
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Aug 2020, 14:06

Re: Unable to Post a Comment on a Guestbook

Post by ipsec »

Moin Jan,

hier ist ein Bild zum besseren Verständnis:

https://imgur.com/3VJvjB4

Ich habe wenig Plan von MySQL, eventuell ist Dein Code ja bereits was ich brauche: Ich muß den Einträgen wo die ID fehlt, eine ID nachträglich mitgeben?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unable to Post a Comment on a Guestbook

Post by Jan »

Hallo, ist das Screenshot von Datenbank? Welche Datenbak benutzt du? Ist das MySQL oder MariaDB?

Die IDs sind von Datenbank automatisch managiert, so eigentlich geht es nicht, es manueall mitgeben. :idea: Die Frage ist, wiese funktioniert es bei dir nicht. Es soll einfach ohne ID nicht gehen :idea:

Jan
If you find Phoca extensions useful, please support the project
ipsec
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Aug 2020, 14:06

Re: Unable to Post a Comment on a Guestbook

Post by ipsec »

Hi,

ja das ist ein Screenshot der MySQL Datenbank. KAnn ich das Problem nicht irgendwie per SSH lösen?
ipsec
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Aug 2020, 14:06

Re: Unable to Post a Comment on a Guestbook

Post by ipsec »

I solved it myself. I downloaded the corresponding table, entered the missing IDs by hand and inserted them again using an SQL command. Unfortunately I always have to do this by hand ... :(
Post Reply