Banner
Home Forum
Qivva Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Advancing month eventually gives 404 - FIX
(1 viewing) 1 Guest
Go to bottom
TOPIC: Advancing month eventually gives 404 - FIX
#2631
neyw
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Advancing month eventually gives 404 - FIX 8 Years, 7 Months ago Karma: 0
Using mod_eventlistcalqajax on Eventlist 1.1beta3.2.3-6

>> link is:
Code:

<a onclick="mod_eventlistcalqajax_click10091('http://extensions.qivva.com/modules/mod_eventlistcalqajax/mod_ajaxloader.php?modid=10091&amp;Itemid=1&amp;el_mcal_month=6&amp;el_mcal_year=2011'); return false;" href="#"> >></a>


Click on >> for the next month

>> link is:
Code:

<a onclick="mod_eventlistcalqajax_click10091('http://extensions.qivva.com/modules/mod_eventlistcalqajax/modules/mod_eventlistcalqajax/mod_ajaxloader.php?modid=10091&amp;Itemid=&amp;el_mcal_month=7&amp;el_mcal_year=2011'); return false;" href="#"> >></a>


Click on >> for the next month
Code:

404 - Component not found


Confirmed it happens on <<

Tested Mozilla Firefox 3.6.17 Ubuntu 10.10 and Chromium 11.0.696.57 (82915) Ubuntu 10.10, IE 8.0.6001.18702 on Windows XP

As you can see, it was found to be occurring on extensions.qivva.com/ and not just my site.
 
Logged Logged
 
Last Edit: 2011/05/09 21:42 By toni.
  The administrator has disabled public write access.
#2632
toni
Administrator
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Re:Advancing month eventually gives 404 8 Years, 7 Months ago Karma: 0
Interesting. Now I've made it happen on this site, but when I try it on: www.orlandovillarentalflorida.com/index.php it works perfectly.

I'm guessing there is some sort of conflict going on.
I'll investigate further.

Regards
Toni
 
Logged Logged
  The administrator has disabled public write access.
#2639
toni
Administrator
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Re:Advancing month eventually gives 404 - FIX 8 Years, 7 Months ago Karma: 0
OK here's the fix.

Find modules/mod_eventlistcalqajax/mod_ajaxloader.php

Line 30 looks like:
Code:

if (strpos(php_sapi_name(), 'cgi') !== false && !empty($_SERVER['REQUEST_URI'])) {
    $_SERVER['PHP_SELF'] =  str_replace ('/modules/'.MODNAME, '', $_SERVER['PHP_SELF']);
} else {
    $_SERVER['SCRIPT_NAME'] =  str_replace ('/modules/'.MODNAME, '',$_SERVER['SCRIPT_NAME']);
}



Change it to:
Code:


if (strpos(php_sapi_name(), 'cgi') !== false && !empty($_SERVER['REQUEST_URI']) &&
    (!ini_get('cgi.fix_pathinfo') || version_compare(PHP_VERSION, '5.2.4', '<'))) {
    $_SERVER['PHP_SELF'] =  str_replace ('/modules/'.MODNAME, '', $_SERVER['PHP_SELF']);
} else {
    $_SERVER['SCRIPT_NAME'] =  str_replace ('/modules/'.MODNAME, '',$_SERVER['SCRIPT_NAME']);
}



Regards
Toni
 
Logged Logged
 
Last Edit: 2011/05/09 21:42 By toni.
  The administrator has disabled public write access.
#2637
toni
Administrator
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Re:Advancing month eventually gives 404 8 Years, 7 Months ago Karma: 0
I now know the cause (but not the fix yet).
It's the change to the libraries/joomla/environment/uri.php that came in with the upgrade to Joomla 1.5.23

Regards
Toni
 
Logged Logged
  The administrator has disabled public write access.
Go to top
Drug Amoxil Online (Amoxicillin) is used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection. Sleeping pills: l-tryptophan, Phenergan, Unisom, Sominex - currently the most popular are the following hypnotic drugs. Click to see full text here:
Italian online pharmacy. Cialis, Viagra and other generic drugs. The best price and free shipping.
Sponsored by: sominex online shop.