makesites / templateblocks

Visual UI editor for websites
http://www.templateblocks.com/
5 stars 5 forks source link

In XAMPP, can't get passed Step 2 #11

Open CorySanin opened 8 years ago

CorySanin commented 8 years ago

No matter what, I get

Could not connect to the database. Please check your details.

My details are correct. I will try on my actual webserver to see if I get different results.

CorySanin commented 8 years ago

Works perfectly fine on my webserver from x10hosting. I wonder why it's not working with XAMPP.

CorySanin commented 8 years ago

Okay, I can get passed step 2, but now I get

Fatal error: Call to undefined function session_is_registered() in /template/classes/Admin.php on line 600

when trying to get to the admin panel. Fun. Of course it gives me an error, session_is_registered was deprecated and then removed from PHP.

CorySanin commented 8 years ago

I fixed the session related issues, but look at this mess of warnings I get:

Warning: fopen(http://www.templateblocks.com/support/wp-rss2.php?cat=3): failed to open stream: HTTP request failed! in /template/classes/Common.php on line 46 Warning: stream_get_contents() expects parameter 1 to be resource, boolean given in /template/classes/Common.php on line 47 Warning: fclose() expects parameter 1 to be resource, boolean given in /template/classes/Common.php on line 48 Warning: simplexml_load_file(): /template/admin/cache/templateblockscomsupportwp-phpcat3.xml:1: parser error : Document is empty in /template/classes/Common.php on line 69 Warning: simplexml_load_file(): in /template/classes/Common.php on line 69 Warning: simplexml_load_file(): ^ in /template/classes/Common.php on line 69 Warning: simplexml_load_file(): /template/admin/cache/templateblockscomsupportwp-phpcat3.xml:1: parser error : Start tag expected, '<' not found in /template/classes/Common.php on line 69 Warning: simplexml_load_file(): in /template/classes/Common.php on line 69 Warning: simplexml_load_file(): ^ in /template/classes/Common.php on line 69

Wow.

CorySanin commented 8 years ago

If you want the fixed Admin.php class file, it's right here