What's wrong?

Farhad Nouti

Member
Nov 26, 2011
60
1
Hey,

Everytime I try to get on my hotel, I keep getting this, does anyone know a fix for it?

screenshot:
 

Farhad Nouti

Member
Nov 26, 2011
60
1
Warning: mysql_connect() [ ]: Headers and client library minor version mismatch. Headers:50166 Library:50528 in /home/habpro/public_html/app/class.engine.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /home/habpro/public_html/app/class.engine.php:48) in /home/habpro/public_html/app/tpl/class.html.php on line 32
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,456
Warning: mysql_connect() [ ]: Headers and client library minor version mismatch. Headers:50166 Library:50528 in /home/habpro/public_html/app/class.engine.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /home/habpro/public_html/app/class.engine.php:48) in /home/habpro/public_html/app/tpl/class.html.php on line 32
Are you using RevCMS 1.9.9.9 or RevCMS 3.0?
 

Farhad Nouti

Member
Nov 26, 2011
60
1
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.

#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.

/*
*
*MySQL management
*
*/

$_CONFIG['mysql']['connection_type'] = 'connect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.

$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host

$_CONFIG['mysql']['username'] = 'habpro_hotel'; //MySQL username

$_CONFIG['mysql']['password'] = '(MY PW)'; //MySQL password

$_CONFIG['mysql']['database'] = 'habpro_hotel'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = '142.4.62.213'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = ' //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'HabPRO'; // Hotel's name

$_CONFIG['hotel']['desc'] = 'Where the PROs lurk'; //Hotel's description

$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin

$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance

$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.

$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.

$_CONFIG['hotel']['pixels'] = 5000; //Default number of pixels users will register with.

$_CONFIG['hotel']['figure'] = 'hr-100.hd-190-7.ch-210-66.lg-270-82.sh-290-80'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1445'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //URL to your external vars

$_CONFIG['hotel']['external_texts'] = ' //URL to your external texts

$_CONFIG['hotel']['product_data'] = ' //URL to your productdata

$_CONFIG['hotel']['furni_data'] = ' //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = ' //URL to your SWF folder(does not end with a '/')

/*
*
*Templating management - Pick one of our default styles or make yours by following our examples!
*
*/

#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.

$_CONFIG['template']['style'] = 'Habbo';

/*
*
*Other topsites.. thing
*
*/

$_CONFIG['thehabbos']['username'] = 'Muffins';
$_CONFIG['retro_top']['user'] = 'Kryptos';

/*
*
*Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/

$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';


/*
*
*Social Networking stuff
*
*/

$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account

$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
I have tried pconnect and connect I get a error for both.
 

Farhad Nouti

Member
Nov 26, 2011
60
1
Make a PHP file and add this into it:
PHP:
<?php
phpinfo()
?>

Then browse to the page and copy the information given.

I get this:

Warning: mysql_connect() [ ]: Headers and client library minor version mismatch. Headers:50166 Library:50528 in /home/habpro/public_html/app/class.engine.php on line 48

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 523800 bytes) in /home/habpro/public_html/app/tpl/class.html.php on line 27
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,456
I get this:

Warning: mysql_connect() [ ]: Headers and client library minor version mismatch. Headers:50166 Library:50528 in /home/habpro/public_html/app/class.engine.php on line 48

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 523800 bytes) in /home/habpro/public_html/app/tpl/class.html.php on line 27
Make a new file called phpinfo.php in your wwwroot (assuming you are using IIS), add into that file:
Code:
<?php
phpinfo()
?>

Browse in your browser to

and give me the information stated
 

Farhad Nouti

Member
Nov 26, 2011
60
1

PHP Version 5.3.20

System Linux tree.hostingbox.org 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64
Build Date Dec 27 2012 14:38:56
Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib
Loaded Configuration File /usr/local/lib/php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,NTS
PHP Extension Build API20090626,NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams compress.zlib, dict, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp, php, file, glob, data, phar
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH



 

Users who are viewing this thread

Top