Page 1 of 1

php mysql error

Posted: Wed Jun 25, 2008 7:46 am
by adminravi
hi,

I have downloaded Real Estate Management license. Version 1.27a from http://real-estate-management-software. ... -terms.php and followed the readme.htm file.

I uploaded the site to http://www.kncbuilders.com and gave full rights to the upload and upload/tmp folders CHMOD 777. Then I made the following changes in the site.xml file. and copy pasted the code from db.sql into sql section in phpmyadmin and it created all the tables. the database name I gave in my server is re001.

<database type="mysql">
<server>www.kncbuilders.com</server>
<login>charan123</login>
<password>abc123</password>
<default>realestate</default>
</database>
Thats all I had to do I guess, according to the readme.html file. Then when I try to access the website by typing in the url http://kncbuilders.com/admin I get the following error message.

CDatabase::SelectDB() error the declaration of call_user_func(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in D:\Domains\kncbuilders.com\wwwroot\admin\lib\forms.php on line 571

Can you please, tell me where am I making the mistake?

Thanks

Re: php mysql error

Posted: Wed Jun 25, 2008 11:38 am
by Christopher
call-time pass-by-reference is something allowed in old versions of PHP, but not newer versions. Is the software PHP4 only and you are using PHP5?

Re: php mysql error

Posted: Wed Jun 25, 2008 2:19 pm
by adminravi
arborint wrote:call-time pass-by-reference is something allowed in old versions of PHP, but not newer versions. Is the software PHP4 only and you are using PHP5?
I have check my Helm control panel and I can see that I am using PHP4 in the server. kindly, download the php software from the given site and check where am I making the mistake, thanks very much for your reply.

This is the list of things, I am using on server according to my resource usage on helm control panel:


kncbuilders.com

Domains: 1
Bandwidth: 13.40 MB
Disk Space: 31.50 MB
ODBC DSNs: 0
Sub-Domains: 0
Domain Aliases: 1
ASP Installations: 1
ASP.NET Installations: 1
ASP.NET 2 Installations: 0
Perl Installations: 1
PHP 4 Installations: 1
CGI Installations: 1
FrontPage Extensions: 0
Shared SSL Domains: 0
Secure Folder Installations: 0
FTP Accounts: 1
POP3 Account: 1
AWStats Installations: 0
MySQL 4 Databases: 1
Database Users: 1


Looking forward to further suggestions and help.