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

Can't Install
#1

Hi. I'm a new user. When attempting to run the installer, first I received a server 500 error. I removed the .htaccess file and then the installer stopped as follows:

<html>
<head>
<title>Installer</title>
<meta name="robots" content="noindex"/>
<link rel="stylesheet" type="text/css" href="css/stylesheet.css"/>
</head>
<body>

<img src="../images/commentics/logo.png" class="logo" title="Commentics" alt="Commentics"/>

<br />


<span class='fail'>

My php and mYSQL versions are higher than required.

Any ideas? I'd sure enjoy using this script.

Thanks
Reply
#2

This will be due to a database connection problem.

Make sure that you created the database, that you entered its details in comments/includes/db/connect.php, and that the database server is operating okay.

Have you completed the interview?
Reply
#3

(03-Feb-2011, 04:01 PM)Steven Wrote:  This will be due to a database connection problem.

Make sure that you created the database, that you entered its details in comments/includes/db/connect.php, and that the database server is operating okay.

Steven - thanks. I have created the database (called "commentics") and have completed the connect.php parameters. Our host connects to mySQL at port 3306. This is specified in most of our connect or config files for php. Do we need it for commentics and, if so, what's the proper command line?

Thanks
Reply
#4

Ah ok, well you could try appending the colon symbol followed by your port number to the mysql_connect() function in comments/includes/db/connect.php.

So it would look like this:
PHP Code:
<?php 
@$connection = mysql_connect ($mysql_host . ":3306", $mysql_username, $mysql_password);

Have you completed the interview?
Reply
#5

(03-Feb-2011, 08:21 PM)Steven Wrote:  Ah ok, well you could try appending the colon symbol followed by your port number to the mysql_connect() function in comments/includes/db/connect.php.

So it would look like this:
PHP Code:
<?php 
@$connection = mysql_connect ($mysql_host . ":3306", $mysql_username, $mysql_password);

Steven = that worked. However, when I log into the admin panel, I do not get it syled the way your demo looks. The logo at the top does not appear and all the menu items are vertical down the page.

It seems as if it's not finding the css.

The admin panel page gets a php error message that says "ddlevelsmenu is undefined"

Do you have a clue what's happening? I've not altered the script at all.

Thanks
Reply
#6

More .htaccess problems? Try removing the .htaccess files from the admin "css" directory to get the styles back, or the "images" directory and it's subdirectories to get the images back. If that works, try removing the rest, unless Steven suggests otherwise.

Oops, missed the part where you removed them, sorry!

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

You mentioned removing a single .htaccess file but not plural. Try removing them from the admin/css, admin/images and admin/menu directories. I imagine it's because of the "OPTIONS -ExecCGI" command. Most servers should be okay with that but I suspect your host is running PHP as a CGI app (odd choice) instead of Apache or/and you're on a Windows server (odd choice). As stated on the requirements page Apache is on the list.

Have you completed the interview?
Reply
#8

(05-Feb-2011, 05:49 PM)Steven Wrote:  You mentioned removing a single .htaccess file but not plural. Try removing them from the admin/css, admin/images and admin/menu directories. I imagine it's because of the "OPTIONS -ExecCGI" command. Most servers should be okay with that but I suspect your host is running PHP as a CGI app (odd choice) instead of Apache or/and you're on a Windows server (odd choice). As stated on the requirements page Apache is on the list.

Steven - I have removed all the .htaccess files in each folder. I am running apache on a linux server. PHP is not in cgi.

Removing all the .htaccess files worked.

Thanks
Reply
#9

Okay well I'm glad it's working now anyway.

I'll wait to see if other people experience a similar issue and if so then I'll remove it.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
12-Dec-2021, 11:43 AM
Last Post by WhatSay
15-Aug-2020, 02:11 PM
Last Post by Steven
12-Nov-2018, 12:48 PM
Last Post by cexplorer
13-Jul-2018, 07:55 PM
Last Post by Steven
14-Apr-2017, 11:56 AM
Last Post by ErnieAlan
04-Nov-2015, 02:48 AM
Last Post by monster_man
29-Mar-2015, 05:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)