Jump to content

Recommended Posts

Posted

Thomas, I downloaded the package, unzipped it and it installed just fine.

 

I have no clue as to what could cause that error but perhaps some files are missing? :lol:

Try unzipping and installing the package again.

Posted

Here is the full error I receive:

Warning: main(../inc/config.php): failed to open stream: No such file or directory in /home/username/public_html/hcl/setup/full.php on line 22

 

Warning: main(): Failed opening '../inc/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/hcl/setup/full.php on line 22

Critical database error - Selecting Database

 

What does it mean?

Posted

Humm... that looks like a database error, Thomas.

 

Have you checked the config.php file to make sure you've set it up with the correct database information?

Posted

There´s 3 things in config.php I am not sure about or do not understand, these are

 

1)

>// If you want to add a prefix to the table names. Otherwise
       // leave blank
       $DB_prefix = "hcl_";

 

2)

>// If your database runs under a persistant connection.
       // Note leave this as 0 unless you know what you are doing.
       $DB_pconnect = 0;

 

3)

>// This path is the full server path to your Help Center Live
       // directory (excluding the trailing slash '/'). If you are using
       // a *nix server you can use $_SERVER["DOCUMENT_ROOT"] to get to
       // your web directory but Windows does not seem to recognise this
       // function.
       $HCL_path = $_SERVER["DOCUMENT_ROOT"]."/hcl";

 

I copied this from current config.php, so it is exactly what I wrote in them.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...