JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Problem with HTML entities in Web Address? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Problem with HTML entities in Web Address?
#4973
revertm (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
Hi!

I'm trying to run a process in a Joomla component with JCron.
I've configured it to run like a web adress, I've enabled the JCron y I've checked it with traffic on my home page.

The JCron seems to work well (Last Run Time changes according to my settings), but it seems to alter the ampersand in the URL. So, task executed with a wrong adress, wich is the same on this case to a non execute of the correct task.

Example:

Command to Run http://localhost/joomla2/administrator/index2.php?option=com_file_index&task=index

Last Run Log Text http://localhost/joomla2/administrator/index2.php?option=com_file_index&task=index

How can I achieve to execute well this command?. Is it a bug or a problem wih my configurtion?

Regards

Martin
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4974
admin (Admin)
Admin
Posts: 2439
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
As long as the command to run text is correct, the html output is simply an encoded html output, please check this function http://www.php.net/manual/en/function.html-entity-decode.php if you would like to alter the cron html output

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4977
revertm (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
Hi Ovidiu, I figured out how to not process the output like HTML entities (instead of decoding as you suggest). Now the Web Address is ok, even in the LOG output, but the task in Joomla is not executed yet.

I've tested the Web Address in a Joomla Administrator session and it worked OK, but when configured in JCron doesn't work.
All the configuration in JCron seems to be working, except the execution of the task.

Any suggestions?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4978
admin (Admin)
Admin
Posts: 2439
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
Could you attach here a screenshot of your JCron job configuration, I presume allow_url_fopen variable is set to ON in your site php.ini configuration? You would need to do that in order for the Web address type to run

Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4979
revertm (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
Yes, allow_url_fopen is ON.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4980
revertm (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with HTML entities in Web Address? 3 Months, 2 Weeks ago  
Here you are the image of my configuration.
File Attachment:
File Name: jcron.jpg
File Size: 50879
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/03 23:12 By revertm.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!