WebsiteBaker Support (2.13.x) > Modules
Guestbook problem after upgrade
sternchen8875:
Thanks (Y) (Y)
sternchen8875:
We are currently testing on 5-6 domains simultaneously, but cannot reproduce anywhere what happens with this 403. The 403 appears in three possible cases
#1 - if section ID or page ID were not transferred
#2 - if ASP is activated and the add value was not transferred and this value does not match the value transferred in the session
#3 - if the data for the page with the guestbook was not found in the DB
My favourite would be #2, because the rest would be verifiable by us and is also visible. Incidentally, the links set in the pages directory have always been incorrect. It may be, that it was possible in earlier WB versions, but at least since WB 2.10 this is no longer possible. If you feel like testing, you could set different headers (location) for each of these three variants, which then also have a reachable target. This can also be a hidden page or three different target pages
However, to prevent the 403, these three targets should be changed in the file gstbk_add.php
original in v2.10.6
--- Code: ---header('Location: '.WB_URL.PAGES_DIRECTORY); exit();
--- End code ---
change to
--- Code: ---header('Location: '.WB_URL.'/index.php'); exit();
--- End code ---
RonR:
Thanks for your help.
What would be the recomended setting for Store $_SERVER-Array: in the settings section of the module?
I changed all 3 header locations, as suggested, but I still get a 403 now and then.
I think it must be something outside the module then? WebsiteBaker itself?
My website is up and running since 2010, and updated now and then for new versions, could there be a setting i forgot to add when updating?
Greetz, Ron
dbs:
Sometimes i get 403 forbidden from my server (mode_security). In this case i have to add the number of this process in the whitelist.
But this will not the reason in your case i think.
Can you check the permission rights of your files and folders?
I attache the file (for root directory)
RonR:
permissions fixed, but problem still exists.. :cry:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version