Ravens PHP Scripts FAQ (Frequently Asked Questions)





Question Question
·  Login error due to Captcha/Security image showing only 3 or 4 characters instead of 5
·  Some blocks/themes/modules no longer work with v2.30.00

Do you have a question which isn't answered here? Click Here to add it.

Answer Answer
Print this Answer
?  Login error due to Captcha/Security image showing only 3 or 4 characters instead of 5

Try adjusting the following settings:

define('CAPTCHA_WIDTH', 150);
define('CAPTCHA_MAX_FONT_SIZE', 16);

There is a good discussion on this at Login error due to Captcha/Security image

[ Back to Top ]

Answer Answer
Print this Answer
?  Some blocks/themes/modules no longer work with v2.30.00

You are using v-e-r-y old code.

Look in mainfile.php and at or around line 218 and you should see this block of code. Read the comments and make a decision as to which way you want to go. We recommend updating your code to use the $db logic instead but the choice is yours, at least for this release :)

/*
* The following two lines of code were moved and commented out in RN 2.30.00 to "test the waters" on
* finding out what old modules/blocks/hacks/etc. are still using this SQL layer that is so
* old it should be obsoleted/removed. If you really need these, uncomment them. We will keep this
* code this way for one more major release as well as keep the includes/sql_layer.php script.
*/
//@require_once(INCLUDE_PATH.'includes/sql_layer.php');
//$dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);

[ Back to Top ]



 
FAQ ©

Site Info

Last SeenLast Seen
  • kguske
  • neralex
Server TrafficServer Traffic
  • Total: 498,872,725
  • Today: 14,883
Server InfoServer Info
  • Feb 12, 2025
  • 03:39 am CST