Customizing SMF > Modifications and Packages

httpBL

<< < (4/230) > >>

butchs:
Yes 2.1.  So far I have not seen it in 2.2.  ;)

butchs:

--- Quote from: snoopy_virtual on February 17, 2010, 05:46:25 PM ---Also, the function getmobileproperties() doesn't belong to this mod. I don't even know it.

--- End quote ---

Sounds like smf4iphone.  But in the last version I wrote, the "getmobileproperties" function was installed at the end of the load.php file and should be found so I believe he is running an older version.  Since I do not have a mobile device and have absolutely no means of supporting the mod, I gave it to "Fabius85", I am sure he can help you if you move this question to the correct thread.

snoopy_virtual:

--- Quote from: butchs on February 17, 2010, 06:34:50 PM ---Yes 2.1.  So far I have not seen it in 2.2.  ;)

--- End quote ---

Weird

From v2.1 to v2.2 I have changed these 3 things:

  1.- I have used the cache functions so now if you have cache enabled in your forum, everytime the mod do a dnslookup of an IP, it store the data in the cache for 120 seconds. This will make pages with lots of visitors load faster, but it won't affect at all to normal sites. And of course it won't affect you if you haven't cache enabled.

  2.- In version v2.1 I was using plain Mysql to display the page warning.php instead of the SMF functions db_query() or $smcFunc['db_query'] and I had put some default values just in case something went wrong. So the people using SqlLite or PostgreSQL were seeing in their warning.php always the default values.

I have found a way to sort that in v2.2 so everybody now should see in the page warning.php the values they put in the settings and not the default ones. By the way, everybody should edit the file httpBL_Subs.php to change my default values for theirs, just in case something goes wrong anyway with the db, but it's not too important. I will explain that better for normal users when I have time to continue the tutorial, so that can wait for now. (Advanced users can do it now).

Anyway this change (even if you are not using Mysql) only affects to the page warning.php, so I don't think it has anything to do with your error 500 either.

  3.- In version v2.1 I was using only $_SERVER['REMOTE_ADDR'] to find out the visitor's IP so we can check it out in the spammers db. Version v2.2 is using a lot more methods. See full list here:

http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&topic=309.msg1292#msg1292

I don't think this change can have anything to do also with error 500

Of course the problem is error 500 is too generic. It can be almost anything.

Any of the 3 changes were affecting you?

Was there any more information with the error 500? Normally no, so I suppose we will need to wait to see if it comes back again.

Cheers.

butchs:
I am guessing that the updates in number 3.  When it happened I had several spammers get rejected.  Spammer rejection is slow at this moment.  Then again, it could be some of the things me a user were doing to test a program on the forum.  We will see in a day or so...  I really am not sure...    ???

snoopy_virtual:

--- Quote from: butchs on February 17, 2010, 06:46:46 PM ---
--- Quote from: snoopy_virtual on February 17, 2010, 05:46:25 PM ---Also, the function getmobileproperties() doesn't belong to this mod. I don't even know it.

--- End quote ---

Sounds like smf4iphone.  But in the last version I wrote, the "getmobileproperties" function was installed at the end of the load.php file and should be found so I believe he is running an older version.  Since I do not have a mobile device and have absolutely no means of supporting the mod, I gave it to "Fabius85", I am sure he can help you if you move this question to the correct thread.

--- End quote ---

Dismal Shadow if you tell Fabius85 about this problem tell him as well that the page warning.php is using SSI.php to load all the SMF functions. He will understand what that means and can help him understand where is the problem.

Anyway, as butchs was saying maybe you were just using an old version of smf4iphone. Try if there is any update.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version