Customizing SMF > Modifications and Packages
httpBL
FfdG:
Maybe someone needs a German-English warning.php...
Texan78:
Hello,
I am and have been running this mod for months without issue. I installed yesterday the RSS Feed Poster 3.0.4 mod. I set up a cron to run a setting file associated with the RSS mod. I set the email up to email me when the cron run so I know it was running without error. When it ran I was getting this error from the cron email.
--- Code: ---<br />
<b>Warning</b>: Missing argument 1 for httpBL_look_for_empty_ip(), called in /home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php on line 680 and defined in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>517</b><br />
<br />
<b>Notice</b>: Undefined variable: ip in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>519</b><br />
--- End code ---
What in this mod is preventing the cron or causing this error to be thrown?
-Thanks
snoopy_virtual:
It is a bug in the code.
While I sort it in the next version you can correct it manually:
Inside your Sources folder look for the file httpBL_Subs.php
Inside it (line 680) look for the code:
--- Code: ---$ip = httpBL_look_for_empty_ip();
--- End code ---
Replace it with:
--- Code: ---$ip = httpBL_look_for_empty_ip($ip);
--- End code ---
Save the modified file and upload it to your forum.
Texan78:
One thing I noticed to is I had a log full of errors shows guests no information. After tracing it back to where it started I noticed it all started happening when I set a cron up for my site to run the RSS mod.
Question is, is there something that can be done so that it doesn't check the cron and see it as a guest?
-Thanks
snoopy_virtual:
I don't know the RSS mod and I don't know the way you have set the cron up, but somewhere inside it you can add these 2 lines:
--- Code: ---global $httpBL_warning;
$httpBL_warning = true;
--- End code ---
Doing that, every time the RSS mod enter httpBL mod, it would think it's an internal check and it won't inspect it.
If you get me in Skype I can see exactly how you have set up the cron and the way that RSS mod works and I would be able to tell you exactly where to put those 2 lines. Anyway, if you know basic programming maybe you can find it out by yourself.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version