Hello,
I've upgraded phpMyFAQ from version 2.8.17 to 2.8.18.
Everything seems to be ok and there were no errors during the upgrade.
Frontend and Backend, at first glance, have all the previous data and configuration.
Then i found out two major problems and i ask for help:
1 - WYSIWYG Editor don't load
The clear text field appears (faq, news, etc.) if i disconnect wysiwyg editor in setup but if i turn editor on nothing appears in the text area but there are no errors.
Even when i set php display errors to ALL doesn't show any error.
I've also tried add pt.js language (default language is Portuguese) but it didn't do no difference.
2 - All links to my FAQs retrieves a blank page. Even html source code are empty. There are also no errors.
Several problems after 2.8.17 -> 2.8.18 upgrade
Moderator: Thorsten
-
vascolopes
- Posts: 3
- Joined: Thu Dec 11, 2014 9:54 pm
Re: Several problems after 2.8.17 -> 2.8.18 upgrade
Hi,
for the editor: do you see any JS errors in your browser console? For the blank pages: please enable the DEBUG MODE in inc/Bootstrap.php
bye
Thorsten
for the editor: do you see any JS errors in your browser console? For the blank pages: please enable the DEBUG MODE in inc/Bootstrap.php
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
vascolopes
- Posts: 3
- Joined: Thu Dec 11, 2014 9:54 pm
Re: Several problems after 2.8.17 -> 2.8.18 upgrade
Hello Thorsten and thank's for the quick reply.
Using the browser console i was able to figure out the missing pt.js files and solve the issue regarding the WYSIWYG Editor not loading.
Regarding the second problem (the blank pages issue), after enable Debug mode, these are the errors:
Front Index shows this error:
phpMyFAQ deprecated warning [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /pathtophpmyfaq/inc/PMF/DB/Mysql.php on line 75
When a FAQ is selected, the web page returns blank. The error is:
phpMyFAQ deprecated warning [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /pathtophpmyfaq/inc/PMF/DB/Mysql.php on line 75
Fatal error: Class 'PMF_Attachment_Abstract' not found in /pathtophpmyfaq/inc/PMF/Attachment/File.php on line 35
Any ideas?
Using the browser console i was able to figure out the missing pt.js files and solve the issue regarding the WYSIWYG Editor not loading.
Regarding the second problem (the blank pages issue), after enable Debug mode, these are the errors:
Front Index shows this error:
phpMyFAQ deprecated warning [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /pathtophpmyfaq/inc/PMF/DB/Mysql.php on line 75
When a FAQ is selected, the web page returns blank. The error is:
phpMyFAQ deprecated warning [8192]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /pathtophpmyfaq/inc/PMF/DB/Mysql.php on line 75
Fatal error: Class 'PMF_Attachment_Abstract' not found in /pathtophpmyfaq/inc/PMF/Attachment/File.php on line 35
Any ideas?
Re: Several problems after 2.8.17 -> 2.8.18 upgrade
Hi,
I think you or your webhoster changed the PHP version as well. You can avoid the deprecation warnings by switching from "mysql" to "mysqli" type in config/database.php:
https://github.com/thorsten/phpMyFAQ/bl ... riginal#L7
About the fatal error: do you have a file called Abstract.php in the folder inc/PMF/Attachment/?
bye
Thorsten
I think you or your webhoster changed the PHP version as well. You can avoid the deprecation warnings by switching from "mysql" to "mysqli" type in config/database.php:
https://github.com/thorsten/phpMyFAQ/bl ... riginal#L7
About the fatal error: do you have a file called Abstract.php in the folder inc/PMF/Attachment/?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
vascolopes
- Posts: 3
- Joined: Thu Dec 11, 2014 9:54 pm
Re: Several problems after 2.8.17 -> 2.8.18 upgrade
Hello again and thank's for the help!
Everything is solved now!
I changed the mysql to mysqli in config/database.php;
Also i found out that when i've made the upgrade, there were several files missing. Two were Abstract.php and Collection.php in inc/PMF/Attachment.
Thank's again for the help.
Everything is solved now!
I changed the mysql to mysqli in config/database.php;
Also i found out that when i've made the upgrade, there were several files missing. Two were Abstract.php and Collection.php in inc/PMF/Attachment.
Thank's again for the help.
Re: Several problems after 2.8.17 -> 2.8.18 upgrade
Hi,
awesome!
bye
Thorsten
awesome!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist