FleaIM Ajax Based Asp & Php Chat Script Community
February 06, 2012, 04:37:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Fleaim v1.3 development is in progress.
 
   Home   Help Search Login Register  
Poll
Question: Are You Facing The Same Problem Of Database Install in Phpmyadmin of .php ver Huh
Yes - 3 (75%)
No - 1 (25%)
Total Voters: 4

Pages: [1]
  Print  
Author Topic: Unable To Setup The Database ??  (Read 3547 times)
eusha
Newbie
*
Posts: 6


View Profile Email
« on: July 17, 2009, 08:04:53 AM »

Unable To Setup The Database ?

Open function.php

ANd Change This Code To Your Database Information. Smiley


//*************************Change the following line to yours*****************//
$DB = new db("localhost","root","Pass","dbname");
//*************************im9.co.cc*****************//


ANd You Will be Very Surprise To Know That ; This Script Dosen't Have any install.php / config.php file

So You Have To Setup The Database Manually.


Unable To Upload fleaim.sql ?

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
CREATE TABLE `user` (
  `id` int(11) NOT NULL auto_increment,
  `username' at line 1


======================
Just Copy The Code Given Bellow :

CREATE TABLE `user` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`username` char( 255 ) default NULL ,
`userpass` char( 255 ) default NULL ,
`userid` int( 11 ) default NULL ,
`useremail` char( 255 ) default NULL ,
`userface` varchar( 255 ) default 'default.gif',
`usersign` char( 255 ) default 'Nothing',
`userstatus` int( 11 ) default '7',
`lastonlinetime` datetime default NULL ,
`usergender` int( 11 ) default '1',
`userpower` int( 11 ) default '2',
`syscode` int( 11 ) default '0',
PRIMARY KEY ( `id` ) ,
KEY `syscode` ( `syscode` ) ,
KEY `userid` ( `userid` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8


Now Paste It In The SQL Script Box..Which Is In The Page Of SQL..in Php Myadmin
« Last Edit: July 19, 2009, 04:15:48 AM by eusha » Logged
eusha
Newbie
*
Posts: 6


View Profile Email
« Reply #1 on: July 17, 2009, 06:39:17 PM »

Still Not Working ??

Then Look At The All Php Files.. There is <?

But You Have To Put <?php

And There One PAge Is Missing The ?> Dont' Forget To Put It There..

============+=============

Need To Change The Welcome Massage ?

Open result.php

And Change

$DB->Query("insert into usermsg (fromid,toid,msgcontent,typeid,msgaddtime) values ('10000','".$intNum."','Welcome To Your IM World. Smiley','1','".toDay."')");

And The IM Script Can BE Fully Modified..

cheak out www.im9.co.cc
Logged
Coolchick
Newbie
*
Posts: 4


View Profile
« Reply #2 on: October 13, 2009, 07:46:22 PM »

yea, I agree.

its a shame. so much work and no config and install.

He needs to incorporate to this script config and install with easy to understand install configuration.

He could still get paid by many to install. Plus he could add plugins later and also charge alittle for each of them.

I am sure without the above, many sales are lost due to those frustrated with basic installations.

if he did that, it would be a really great messenger chat to use!
Logged
[E]cco
Newbie
*
Posts: 1


View Profile
« Reply #3 on: December 18, 2009, 11:58:02 PM »

I could get FleaIM to work on a few servers only. After many many hours of debugging I noticed that the file inc.php has been UTF-8 encoded. When I saved it in ANSI, the script worked everywhere.

I think UNIX servers can't handle UTF-8 encoded php-scripts...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!