Page 2 of 3

hmmm, there is a big

Posted: 10 Mar 2008, 21:47
by Jan
hmmm, there is a big problem with form tag... on some servers work it with index.php, on some servers with full path, ... Some old PHP versions causes this problem too. Please compare the php versions..

Hi,indee

Posted: 10 Mar 2008, 21:59
by royahuis
Hi,

indeed, the website I try to install it to now, has PHP 5, while the other sites have PHP 4 installed. Do you think there would be any way to manually edit the files, so that I could hardcode the proper link in the 'action' part of the form field?

If I could get it working, I'd off course be happy to share the 'solution' here I'll start digging code then :D

Thanks,

Roy.

yes, just change it

Posted: 10 Mar 2008, 22:37
by Jan
yes, just change it here:
row 207
<form action="<?php echo JRoute::_($this->action);?>" method="post" name="saveFo
rm" id="saveForm" onsubmit="return submitbutton();">

row 363
<form action="<?php echo JRoute::_($this->action);?>" method="post" name="adminF
orm" id="adminForm">

Thanks for the fast

Posted: 10 Mar 2008, 22:48
by royahuis
Thanks for the fast reply! I will try tomorrow and post results on this forum off course.

Hi,first

Posted: 11 Mar 2008, 00:30
by royahuis
Hi,

first, sorry to bother you again. but could you please tell me what file i need to edit?

thanks,
Roy.

you should change th

Posted: 11 Mar 2008, 11:07
by Jan
you should change the action parameter... you should try to add there: e.g. index.php or your path...

Try to update to 1.2

Posted: 11 Mar 2008, 17:05
by Jan
Try to update to 1.2.3 version...
https://www.phoca.cz/phocaguestbook/inde ... e=download

There is other method to create a form link

I have the same prob

Posted: 15 Mar 2008, 16:17
by eLMO
I have the same problem at my site (http://www.mpc.be/heidedivas/index.php? ... aguestbook &id=1&Itemid=19). When I post a message I get a 404 error because the url is http://www.mpc/heidedivas/heidedivas instead of http://www.mpc.be/heidedivas.

A couple of messages ago you advised to change something in the php-code, but I don't understand where to make the changes. Can you give a little bit more information?

Thanks in advance

Yes, the problem is

Posted: 15 Mar 2008, 19:47
by Jan
Yes, the problem is in <form action="...

There is:
/heidedivas/heidedivas/

instead of
/heidedivas/

Joomla creates wrong URL

Which version of Phoca Guestbook do you use?

The latest version,

Posted: 16 Mar 2008, 12:45
by eLMO
The latest version, 1.2.3

There's also a problem with the title-field.