Home pcDTR Forum
If you like the work i do, you know what to do.
Welcome, Guest
Please Login or Register.    Lost Password?

problem when joomla is not in root
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: problem when joomla is not in root
#153
problem when joomla is not in root 7 Months, 2 Weeks ago Karma: 0
Hi,

I have tried pcDTR and is realy greate.

I have had one problem, I don't have joomla installed in root directory - for example [www.server.com/my_joomla]. When I tried pcDTR no generated images were shown. So i look at cache dir and there were images... only in included css style were wrong paths. [/cache/3904801098409.png] and should be [./cache/...] or [/my_joomla/cache/....] becouse this [/] means root dir and in my case it dont work well.

I tried to repair it in pcDTR settings, but then the image generation was wrong. So I repaired it in pcdtr.php file - but it is only hot fix exactly for my case.

please, can you fix it in next version ?

thank you very much for that plugin.
david
david.sedlacek
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#154
Re:problem when joomla is not in root 7 Months, 2 Weeks ago Karma: 2
Noticed i missed that one again.

Change row 125 in pcdtr.php from:
$dom = str_replace('changeme.'.$group, '/'.$this->params->get('cache_dir').'/'.$change[$n], $dom);
To:
$dom = str_replace('changeme.'.$group, JURI::base(true).'/'.$this->params->get('cache_dir').'/'.$change[$n], $dom);
flowman
Admin
Posts: 110
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Banner
Copyright © 2010 pcDTR. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.