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

Conflict with CMS Database??
#1

I seem to be having an issue with commentics interferring with my cms.

When I add the line
Code:
require $path_to_comments_folder . "includes/commentics.php";
to my php page everything below where I have the form in terms of my existing php no longer works (it's my page's footer which is driven off the cms's database. By no longer working I mean I get this error...
Quote:MySQL error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Any ideas? The CMS isn't a mainstream product (ie wordpress, joomla, drupal) I didn't build the CMS either.
Reply
#2

solved...had to close the previous CMS db connection first, then load the form, then reopen the CMS db connection.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
22-Sep-2023, 06:15 PM
Last Post by amwassil
06-Jan-2018, 01:13 AM
Last Post by wmbower
26-Feb-2017, 07:19 PM
Last Post by Thomass
11-Dec-2016, 03:04 PM
Last Post by Carluti
09-Jan-2016, 04:26 PM
Last Post by angeljs
21-May-2012, 01:58 PM
Last Post by iwede
07-Jan-2012, 05:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)