'Offer' posts not displayed - only 'Need' posts shown
(4 posts) (2 voices)-
Posted 1 month ago
-
Hi,
I notice that when someone posts an advert with the type set to 'Offer', the page is not available.
The user gets an email with a link to confirm their post, which they follow, but once they get the on-page confirmation message that their post was accepted, the redirect which occurs points to a non-existent page. This actually occurs for both types of post.
However, when I go to the front page and click on the recently created advert, the 'Need' ones can be found, whereas the 'Offer' post just redirects back to the main page.
Any ideas?Thanks,
WillPosted 1 month ago # -
Posted 1 month ago
-
Hi again,
I noitced why only 'offer' pages were not displayed, it was because in the languages folder I renamed 'Offer' to 'For Sale'. I think the space is what messed up the post availability.
However, the problem with the confirmation email page not redirecting to a valid page is still present. This is because the link which is redirected to is missing the installation folder name... e.g. a valid path such as /classifieds/10/Offer/travel/car-sharing, is redirected from the confirmation page to/10/Offer/travel/car-sharingThanks.
Posted 1 month ago # -
To hack a fix I modified a function in common.php:
function jsRedirect($url){//simple JavaScript redirect
$fullurl='/classifieds'.$url;
echo "<script language='JavaScript' type='text/javascript'>location.href='$fullurl';</script>";
}This works for me.
WillPosted 1 month ago # -
Hello thanks for sharing this here, this was a bug in 1.5.4 fixed in 1.6 ;)
Please uograde to 1.6
regards
Posted 1 month ago #
Topic Closed
This topic has been closed to new replies.