This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

installer does not create database
#1

i just try to install commentrics,
did all this:
1. Download and unzip the programme.
2. Create a database for Commentics on your server.
3. Open comments/includes/db/connect.php and enter your database details.
4. Upload the programme (comments folder) to your website root.
5. Change the permissions of http://www.domain.com/comments/includes/db/connect.php to 444.
6. Rename the admin folder http://www.domain.com/comments/admin/
7. Run the installer http://www.domain.com/comments/installer/

but by point 7 the installer stops after:
A system check is now being performed ..

PHP version is 5.2 or higher Pass
MySQL version is 5.0.7 or higher Pass
Ctype extension is available Pass

any idea?
best regards


ps. no database been build, as i see in phpmyadmin
Reply
#2

Try navigating to http://www.domain.com/comments/installer/install_1.php and tell me what happens.

Note to Steven: Why do I have to wait ~3 minutes after posting? What's the reason for the limitation?

EDIT: and the installer doesn't create the DB itself, you need to create it through phpMyAdmin or an alternative.

I'm giving you three guesses...
Reply
#3

Static, that did the job, thanks and many thanks for this very fast reply!Smile

(10-Sep-2010, 06:43 PM)Static Wrote:  Try navigating to http://www.domain.com/comments/installer/install_1.php and tell me what happens.

Reply
#4

hi. i have almost the same issue. Tried to install, but next page shows error:
Fatal error: Call to undefined function mysql_set_charset() in /home/la01/7887012/comments/installer/install_1.php on line 54

Magic Quotes is enabled though.

Checked the mySQL settings:
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci

Tried to modify line 54 with several different settings, nothing changes.

Any ideas?

Thanks
Reply
#5

Hi,

What PHP and MySQL version do you have?

http://www.commentics.org/requirements.php

Have you completed the interview?
Reply
#6

You might find this post useful.
http://www.commentics.org/forum/showthre...812#pid812

The line numbers won't be accurate anymore, and I forgot to mention the installer files.

Have you completed the interview?
Reply
#7

yes, I found a solution from there.
I changed "mysql_set_charset('utf8'); //set utf-8 charset" lines with "mysql_query("SET NAMES 'UTF8'"); //set utf-8 charset" in all the mentioned files plus install_1 and install_2. That worked.
Thanks.
Reply
#8

I'm glad the solution worked for you.

The next version of Commentics will use 'SET NAMES' if mysql_set_charset() is undefined.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by HGsunday
04-Jul-2018, 09:42 AM
Last Post by Steven
24-Jan-2016, 08:24 PM
Last Post by adb34
22-Sep-2015, 03:29 PM
Last Post by Tommiiee
20-Apr-2014, 07:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)