Hey there,
I just moved hosts and I now have a site hosted on the bryght platform. Well leech seems really unstable with that setup, as sometimes I'm able to add leech sources, but most of the times it just does not work.
I have firebug installed and it seems to give me some clues about what,s going on:
First of all at the moment I load the node/add/source page this shows up:
missing } in XML expression
[Break on this error] $("body").append("");\n
then, when I enter a feed adress (http://feeds.feedburner.com/encoreungeek I get these errors:
leech_close_check_url is not defined
onblur(blur )
and then:
leech_prepare_check_url is not defined
onfocus(focus )
Nothing happens at all after that, the Additional options field never opens. I tested the same feed on a php4 / mysql 4 install and there are no problems at all!!!
Any ideas, please help!
ps. I tried to load the latest CVS version too, and it did not fix this...
Thanks,
Patchak
my server setup:
apache 2
php 5.1.6
mysql 5.0.27
(bryght VPS)
Comments
Comment #1
patchak commentedAt some point I thought it might be related to the theme of the site, but changing to bluemarine did not change anything, and I still have the same errors.
Please help! Should I justgo back and find a host with php4? Should I try to completely reinstall leech module?
Thanks,
Patchak
Comment #2
alex_b commentedHi Patchak.
This seems all a lot php5/myql5 related. But that's just a hunch. It could also be a weird interaction with other modules.
Aron and me are unfortunately tied up in other stuff for this week and next.
As a stop gap you could get a host you know your site will work on. Then I would recommend getting a developer who can go through the issues step by step, debug them (most mysql5/php5 related issues are very well documented) post back patches here and where there are still issues we will be able to help.
I am pretty sure that those errors look a little bit wilder than they are in the end.
I am sorry not to be able to offer more direct help at this moment.
Can you send a list of installed modules?
Alex
Comment #3
patchak commentedHi Alex,
First, thanks for answering, I appreciate the time you put on this module! Second, I'm sorry I did not answer back to you sooner, I was away for a week just after I realised my leech install stopped working.
Well getting back today I started playing with it and did some tests. Well it turns out that when I disable the devel.module the leech install works again (the ajax call works and the additional infos field appear).
Meanwhile my host downgraded my server to a php4/mysql4 combo, so I cannot confirm that the devel module is the only source of problems. Note that the errors that firebug declared do not show now that I'm back in version 4 for mysql and php on the server.
Disabling the devel.module worked to get leech back on it's feet on both my sites (dev and test). Now the question is can you reproduce the bug, and figure out if the issue comes from the devel module or something inside leech.
If you have any more questions, or comments, please add them here! Also, I'm changing the title and priority to reflect these findings.
Later,
Patchak
Comment #4
drawk commentedDevel can definitely cause problems with AJAX calls. One way to try to track this down would be to enable devel, and repeat whatever steps resulted in the errors. In the Firebug console, see if there are any POSTS going out, and if so click on the + sign to the left of it to see what got returned. If it says something like "Page execution time was ..." instead of the expected data, it's a conflict with devel.
See Moshe's explanation here
Comment #5
alex_b commentedhi patchak,
this is really an interesting interaction between devel and leech. i am extensively using devel and leech on our 4.7 sites, i did not experience any problems there.
i would love to see somebody checking out this issue and test some devel/leech configurations.