• Home
  • Get help
  • Ask a question
Last post 1 hour 23 min ago
Posts last week 82
Average response time last week 34 min
All time posts 68187
All time tickets 10530
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1000 – Error message

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 15 September 2015 07:38 UTC
kutangaza
Hello, I usually have this message appear when i want to send message to "Contact this message".

But when i disable sh404sef, it works ok. showing message sent. Please see how you can help me resolve this issue.

see attached 

www.xxx.com.ng/admin
xxx
Tuesday, 15 September 2015 11:02 UTC
wb_weeblr
Hi

The problem is caused by the extension used for the contact form using a relative URL.
<form action="index.php" method="post" name="djForm" id="djForm" class="form-validate" enctype="multipart/form-data">
It should not use "index.php" but instead "/index.php".

But when i disable sh404sef, it works ok.
Yes, but tha'ts an error in Joomla. This URL does not exist and Joomla should also trigger an error. This is one of the SEO failure in Joomla that sh404SEF tries to fix.

What's the extension you're using for this form? It should probably be easy to fix.

Rgds
 
Tuesday, 15 September 2015 14:16 UTC
kutangaza
Am using DJclassifieds component
Tuesday, 15 September 2015 15:51 UTC
wb_weeblr
Hi

Then I suggest you contact them mentioning this thread and explaining that they are using a relative URL to post a form, which is not compatible with quality SEF URL.

Rgds
 
Thursday, 24 September 2015 07:23 UTC
kutangaza
Hello,
On this my issue, I have contacted the DJclassifieds developer to fix this issue. Still not fixed. I was asked to change the code:

components/com_djclassifieds/views/item/tmpl/default_generaldetails.php and change line 232 from
<form action="index.php" method="post" name="djForm" id="djForm" class="form-validate" enctype="multipart/form-data" >
to
<form action="<?php echo JURI::base();?>/index.php" method="post" name="djForm" id="djForm" class="form-validate" enctype="multipart/form-data" >



I have done that still the same issue:

Can you see if there is something you can do. I have disable sh404sef completely and the form is working ok.

This is my FTP
SFTP info is below :
ip : xxxx
username : xxxx
password : xxxx
port : 22

Joomla login
xxxx.com.ng/admininstrator
un: xxx
pw:xxxx
Thursday, 24 September 2015 09:09 UTC
wb_weeblr
Hi

You have a double / in your URL:


The code to use is:
<form action="<?php echo JURI::base();?>index.php" method="post" name="djForm" id="djForm" class="form-validate" enctype="multipart/form-data" >

without the / in front of index.php.

Rgds
 
Thursday, 24 September 2015 09:14 UTC
wb_weeblr
Hi

OK, let take that back a bit:

- the problem is indeed the double slash: I removed it with Chrome developer tools and was able to post a message.
- but I think the code given by DJClassifieds is correct:
<form action="<?php echo JURI::base();?>/index.php" method="post" name="djForm" id="djForm" class="form-validate" enctype="multipart/form-data" >


That is you need a / before index.php as JURI::base() normally does not have a / at the end.

Can you double check what code you have put exactly there currently?

Rgds
 
Thursday, 24 September 2015 17:12 UTC
kutangaza
Hello,
The issue is resolved now by the developer.

Thanks
Etum
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.