Post Reply 
Database error upon integration
09-May-2012, 07:34 PM
Post: #1
Database error upon integration
Hi, I've installed this with no problems, but when I add the integration code to my index.php page I receive the following error:

Code:
Sorry, there is a database selection problem.
Please check back again shortly. Thank you!

As far as I know, all settings and paths are correct. Thanks in advance for any help. Smile
Find all posts by this user
Quote this message in a reply
10-May-2012, 05:47 AM
Post: #2
RE: Database error upon integration
Hi, thanks for your reply. No, I'd already tried all that. Confused Plus I can still access the admin panel and change settings etc.
Find all posts by this user
Quote this message in a reply
10-May-2012, 10:36 PM
Post: #3
RE: Database error upon integration
Hi,

It seems like there's something on your page which is interfering with the script. It's very difficult to say what exactly. If it's a popular application that you're integrating with then there may be support available or other people who have had a similar problem. Another thing would be to check your server error logs to see if any helpful errors are produced.

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
16-May-2012, 06:09 PM
Post: #4
RE: Database error upon integration
Hi, I've tried this with a blank php page and still receive the same error Sad
Find all posts by this user
Quote this message in a reply
18-May-2012, 11:33 AM
Post: #5
RE: Database error upon integration
Just to let you know I've also tried this with the example pages included in the download and still receive the same error messages.
Find all posts by this user
Quote this message in a reply
18-May-2012, 12:12 PM
Post: #6
RE: Database error upon integration
Okay, I've figured out what the problem is, but have no idea how to fix it. The original installation was in a folder under public_html (i.e.public_html/test/comments). Once Installed it in the root it works fine. How can I change it so it works no matter which folder it's under?
Find all posts by this user
Quote this message in a reply
18-May-2012, 01:43 PM
Post: #7
RE: Database error upon integration
Is there any reason you don't want to install it in the root?

If the reason is that you already have a /comments/ folder there, then you can rename the /comments/ folder of Commentics to something else, just remember to update the 'Comments URL' setting in Settings -> System.

Also, what is the value of the $path_to_comments_folder variable in your integration code?

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
21-May-2012, 02:58 PM
Post: #8
RE: Database error upon integration
I just thought I'd be able to install it anywhere, no reason. Smile

Okay, I've installed in in the root, but I'm trying to use it on a test site in /public_html/test/demosite, but the database error remains. I've tried all kinds of variations in the integration code:

/comments/
comments/
/home/******/public_html/comments/

but nothing works Sad
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Custom Integration with TNG - advice needed Tom C. 12 181 01-May-2013 04:10 AM
Last Post: Tom C.
  Integration in html page Huldrich 32 5,630 24-Dec-2012 03:01 AM
Last Post: 3hoursLater
  Integration trials CommiC 7 451 21-Aug-2012 01:31 AM
Last Post: CommiC
  Error in Smarty compiler in cms CommiC 5 668 13-Aug-2012 10:16 PM
Last Post: CommiC
  Same comment on different pages throws error odie2828 1 296 28-Jun-2012 07:17 PM
Last Post: Steven
  "Failed opening required" error - cgi-bin problems? Cerebus 5 1,013 24-Jun-2012 07:04 AM
Last Post: Cerebus
Shocked integration in my site sitiodomatoweb 1 428 12-Jun-2012 05:23 PM
Last Post: Steven
  Where is the integration code? Hobittual 1 432 30-Mar-2012 02:37 PM
Last Post: Hobittual
  Conflict with CMS Database?? jbsmith 1 295 10-Mar-2012 03:31 AM
Last Post: jbsmith
  To Bypass Database Connection Error iwede 2 349 07-Jan-2012 06:29 PM
Last Post: iwede

Forum Jump:


User(s) browsing this thread: 1 Guest(s)