Forum

Thread tagged as: Problem, Addons, Blog

Blog app does not work.

I followed the instructions as told in installing the blog app. The app shows in my control panel but when I click on create a post, it carries me to a blank screen and does not go any further.

What is the fix to this?

Thanks Mark

Mark Chen

Mark Chen 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

What is the error in your PHP error log?

DIAGNOSTICS: SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled='1' AND u.userID=2 AND u.userHash='5629f7d30dffd2fd6613c90aa04598e5' LIMIT 1 UPDATE perch2_users SET userHash='7d95f3a723aebccb6c28186931a29131' WHERE userID=2 SELECT p.privKey FROM perch2_user_privileges p SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID Image folder writable? 1 SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0 Queries: 6 Array

(

[type] => 8192

[message] => Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater

[file] => Unknown

[line] => 0

)

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is there anything in your PHP error log?

DIAGNOSTICS: SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled='1' AND u.userID=2 AND u.userHash='547f8683e76912a38678bbecb150de29' LIMIT 1 UPDATE perch2_users SET userHash='1a6a71f96e20a7199074fa5dd0cb0577' WHERE userID=2 SELECT p.privKey FROM perch2_user_privileges p SELECT * FROM (SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID Queries: 5 Array

(

[type] => 8192

[message] => Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater

[file] => Unknown

[line] => 0

)

Rachel Andrew

Rachel Andrew 394 points
Perch Support

That isn't a PHP error log. See here for information:

https://solutions.grabaperch.com/development/why-am-i-getting-a-blank-page

[13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/curl.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/curl.so: undefined symbol: php_body_write in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: gmp: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: iconv: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/imap.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/imap.so: undefined symbol: php_checkuid in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so: undefined symbol: zval_property_ctor in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: mysql: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/odbc.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/odbc.so: undefined symbol: php_body_write in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo.so: undefined symbol: zval_property_ctor in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_pgsql.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_pgsql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pgsql.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/pgsql.so: undefined symbol: php_checkuid in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/sqlite3.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/sqlite3.so: undefined symbol: zval_property_ctor in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: mongo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so: undefined symbol: php_checkuid in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: PDFlib: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: trader: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so' - /hsphere/shared/php53/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0 [13-Sep-2014 05:32:25 UTC] PHP Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0

I asked for the php error from my host and he corrected the issue.

Only thing now is that I created a blog post, but how do I view it now? I dont see a page created for blog

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You need to create those pages - there are example pages that you download with the blog.

I suggest taking a look at our video tutorial.

https://docs.grabaperch.com/video/v/installing-the-blog-app/

I am having difficulties getting the posted page to resemble my sites design. I copied over the code of an existing page (main index) and then added the perch blog section replacing the content area and I am still no change. I got the blog to work at the least. Now its a styling issue.

Mark

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, great.

I have been following the tutorial and no matter what I do the blog does not take on any style whatsoever.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Perch doesn't effect your CSS so you should debug your issue in the usual way that you would debug CSS.