Elgg script problem
Hi guys,
need help with elgg script. I have got a few errors like this one:
14:56:46: [+] 1/1 matches engine Elgg - http://areaclienti.nicolasavino.com/pg/register/
14:56:46: [+] 1/1 login successful - http://areaclienti.nicolasavino.com/
14:56:46: [+] 1/1 new URL - http://areaclienti.nicolasavino.com/pg/profile/Evelyne7
14:56:46: [+] 1/1 new URL - http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/editicon/
14:56:46: [-] 1/1 required variable "url" was not used in form.
If you take a look manually at submission process on this site, you will see that there after login, there are two similar urls that match this line in elgg.ini:
find url=*edit.php?username=%login%*|*/%login%/edit|*%login%*edit*|*edit*%login%
there is http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/edit (the one we need) and http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/editicon - to edit icon of your profile.
My questions are: how does it work here? GSA tries randomly one of patterns in "find url" and if it is successful, it stops and tries to fill data? How to protect it to not go to the wrong /editicon/ url?
Well i think removing of *%login%*edit* part would be enough...or change it just to *%login%*edit...but i think it could kill some sites that would be submitted otherwise, not sure here...
thansk a lot!
need help with elgg script. I have got a few errors like this one:
14:56:46: [+] 1/1 matches engine Elgg - http://areaclienti.nicolasavino.com/pg/register/
14:56:46: [+] 1/1 login successful - http://areaclienti.nicolasavino.com/
14:56:46: [+] 1/1 new URL - http://areaclienti.nicolasavino.com/pg/profile/Evelyne7
14:56:46: [+] 1/1 new URL - http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/editicon/
14:56:46: [-] 1/1 required variable "url" was not used in form.
If you take a look manually at submission process on this site, you will see that there after login, there are two similar urls that match this line in elgg.ini:
find url=*edit.php?username=%login%*|*/%login%/edit|*%login%*edit*|*edit*%login%
there is http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/edit (the one we need) and http://areaclienti.nicolasavino.com/pg/profile/Evelyne7/editicon - to edit icon of your profile.
My questions are: how does it work here? GSA tries randomly one of patterns in "find url" and if it is successful, it stops and tries to fill data? How to protect it to not go to the wrong /editicon/ url?
Well i think removing of *%login%*edit* part would be enough...or change it just to *%login%*edit...but i think it could kill some sites that would be submitted otherwise, not sure here...
thansk a lot!
Comments
So you say that the software goes one by one, checks if *edit.php?username=%login%* does exist, then */%login%/edit and then *%login%*edit*? It doesnt look like that, it seems it goes randomly to me => goes to *%login%*edit* and find ../editicon url, otherwise it would found the */%login%/edit url and would try to post there. I will try the url must have=!*/editicon you suggested, but where to place it? Before find url command?
I have another question: i dont know how to test it quickly. I have an account created, how to try to post on it several times until it will succeed? I though i can just delete the project_hosts_done file but it doesnt help...
THX a lot
:-) thats the problem, it should but has not. About half of site is not working because SER goes to /editicon and hence founds no place to submit URL. I have removed *%login%*edit*, added url must have=!*/editicon but it is still the same...
I think we need Sven to find a solution for this one...
thx
Sven, please help
thanks a lot! best support EVER!