Posted on: 06/04/05 12:10am
By: abrosam
I have a new geeklog installation with easyfile 0.7.6 installed. It is working very nicely except for one part -- When I try to click on download from the main page (from the easyfile block), I get a 404 error.
Here's a little information on my setup.
geeklog is in /geeklog/
webroot is in /www/
geeklog html is in /www/geeklog/
geeklog url is http://domainname/geeklog/
easyfile html is in /www/geeklog/easyfile/
easyfile url is http://domainname/geeklog/easyfile/
THE PROBLEM: the link from the easyfile block on the front page tries find file.php at http://domainname/easyfile/file.php instead of http://domainname/geeklog/easyfile/file.php
The interesting part is that if I click on the download link from the main menu, it links to the correct page, and everything works fine (from http://domainname/geeklog/easyfile/index.php links to file.php in the correct folder), but the links from the easyfile block on the main page do NOT work -- it insists that the easyfile directory must be in the root directory of my web directory. I'm new to geeklog and have searched through the code, but can't find where to fix this... I'm hoping someone can help me.
Easyfile 404 Error
Posted on: 06/09/05 07:49am
By: Kelvin
[QUOTE BY=abrosam]THE PROBLEM: the link from the easyfile block on the front page tries find file.php at http://domainname/easyfile/file.php instead of http://domainname/geeklog/easyfile/file.php[/QUOTE]
Oops. My bad. To fix this you need to modify easyfile/file.class.php. The method htmlLink (~row 310) is missing a global $_CONF... add that to the top of that function; like so:
function htmlLink($tooltip = 'date') {
global $_CONF;
Easyfile 404 Error
Posted on: 06/10/05 12:15am
By: abrosam
[QUOTE BY= Kelvin]Oops. My bad. To fix this you need to modify easyfile/file.class.php. The method htmlLink (~row 310) is missing a global $_CONF... add that to the top of that function; like so:
function htmlLink($tooltip = 'date') {
global $_CONF;
[/QUOTE]
That worked perfectly. Thanks.