Web 2.0 Directory Community
September 10, 2010, 12:03:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: sql error  (Read 316 times)
infinita
Newbie
*
Posts: 5


« on: March 06, 2010, 07:27:40 AM »

On install i getting this:


A Database Error Occurred

Error Number: 1115

Unknown character set: 'ucs2'

CREATE TABLE `site_settings` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) default NULL, `value` text character set ucs2, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 AUTO_INCREMENT=1

Any ideas what wrong  Embarrassed
Logged
Mihail Chepovskiy
Global Moderator
Hero Member
*****
Posts: 667


« Reply #1 on: March 06, 2010, 01:50:58 PM »

I am so sorry, can't understand how this line has creeped in the installer.
I am renewed it, download one more time, please, and reinstall the application.

Regards,
Mihail.
Logged

infinita
Newbie
*
Posts: 5


« Reply #2 on: March 06, 2010, 03:32:37 PM »

hi again,

Just did it but again see the same:


A Database Error Occurred

Error Number: 1115

Unknown character set: 'ucs2'

CREATE TABLE `system_settings` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) default NULL, `value` text character set ucs2, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 AUTO_INCREMENT=1

Logged
infinita
Newbie
*
Posts: 5


« Reply #3 on: March 06, 2010, 03:48:38 PM »

i have corrected settings.install.sql by myself but seems error still in install package:

...
  `value` text character set ucs2,
...
Logged
infinita
Newbie
*
Posts: 5


« Reply #4 on: March 06, 2010, 04:24:27 PM »

just after it solved i got next error:

http://www.onwebin.co.uk/install/

Internal Server Error, this is an error with your script, check your error log for more information.

Why can be it?  Undecided

it will be as i suppose something wit .htaccess just not sure what to do now..
« Last Edit: March 06, 2010, 04:51:57 PM by infinita » Logged
Mihail Chepovskiy
Global Moderator
Hero Member
*****
Posts: 667


« Reply #5 on: March 06, 2010, 08:40:27 PM »

Your server runs PHP as CGI,
read the 2nd note here http://www.salephpscripts.com/manual/installation

Regards,
Mihail.
Logged

Mihail Chepovskiy
Global Moderator
Hero Member
*****
Posts: 667


« Reply #6 on: March 06, 2010, 08:48:17 PM »

If it doesn't help:

in .htaccess file change the last line to:
RewriteRule ^(.*)$ /index.php/$1

Hope this will helps
Logged

infinita
Newbie
*
Posts: 5


« Reply #7 on: March 06, 2010, 10:05:42 PM »

same problem remain

at address bar i see now:

http://www.onwebin.co.uk/index.php/install/

but getting same error:

Internal Server Error, this is an error with your script, check your error log for more information.

...
Logged
hands0me
Newbie
*
Posts: 2


« Reply #8 on: August 27, 2010, 09:32:22 PM »

hi

I installed according to instructions 1-6

7 Go to 'http://mysite/'   :


A Database Error Occurred

Error Number: 1146

Table 'where_db.whe_modules' doesn't exist

INSERT INTO `whe_modules` (`dir`, `name`) VALUES ('settings', 'System and site settings module')


again 7 Go to 'http://mysite/'   :


A Database Error Occurred

Error Number: 1050

Table 'site_settings' already exists

CREATE TABLE `site_settings` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) default NULL, `value` text, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 AUTO_INCREMENT=1


if i change to RewriteRule ^(.*)$ index.php/$1 :

Internal Server Error



server :
PHP
CGI on
FastCGI on
$config['index_page'] = "index.php";

any ideas?

thanks
Logged
johncarlson21
Newbie
*
Posts: 15



« Reply #9 on: August 27, 2010, 10:19:00 PM »

empty your database and start the install over.
Logged
hands0me
Newbie
*
Posts: 2


« Reply #10 on: August 28, 2010, 03:55:27 PM »


after empty i get the same errors
Logged
Mihail Chepovskiy
Global Moderator
Hero Member
*****
Posts: 667


« Reply #11 on: August 28, 2010, 04:15:53 PM »

What is your mysql version?

Also check were all files copied in 'modules/modules_control/' folder
Logged

Pages: [1]
  Print  
 
Jump to:  

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