404 after post
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
hmmm, there is a big
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..
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 10 Mar 2008, 21:03
Hi,indee
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
Thanks,
Roy.
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
Thanks,
Roy.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
yes, just change it
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">
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">
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 10 Mar 2008, 21:03
Thanks for the fast
Thanks for the fast reply! I will try tomorrow and post results on this forum off course.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
you should change th
you should change the action parameter... you should try to add there: e.g. index.php or your path...
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Try to update to 1.2
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
https://www.phoca.cz/phocaguestbook/inde ... e=download
There is other method to create a form link
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Mar 2008, 16:10
I have the same prob
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Yes, the problem is
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?
There is:
/heidedivas/heidedivas/
instead of
/heidedivas/
Joomla creates wrong URL
Which version of Phoca Guestbook do you use?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 15 Mar 2008, 16:10
The latest version,
The latest version, 1.2.3
There's also a problem with the title-field.
There's also a problem with the title-field.