Configuration not saving

Please report bugs here!

Moderator: Thorsten

Joris
Posts: 1
Joined: Thu Jun 09, 2016 9:48 am

Configuration not saving

Post by Joris »

Hi guys,

First day phpMyFaq.
I am a webdeveloper in Joomla and Wordpress.

I have problem with saving my configuration.
Title is saving but settings not.

I tried to find the file where i could set these settings or in the database but cant find it.

Can somebody help me where to start searching?

System information:
phpMyFAQ Version 2.9.1
phpMyFAQ API Version 1.1
Server Software Apache/2
Server Document Root /home/hx0533/domains/stipweb.nl/public_html/wiki
phpMyFAQ Installation Path /home/hx0533/domains/stipweb.nl/public_html/wiki
PHP Version 5.5.36
Webserver Interface FPM-FCGI
PHP Extensions Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, fileinfo, filter, ftp, gd, gettext, hash, iconv, SPL, intl, json, mbstring, mcrypt, session, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysql, SimpleXML, soap, sockets, imap, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, htscanner, mhash, ionCube Loader
PHP Session path
Database Server mysqli
Database Server Version 5.5.48-log
Database Client Version mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $
Elasticsearch n/a
Sparx
Posts: 4
Joined: Sat Jun 11, 2016 11:01 pm

Re: Configuration not saving

Post by Sparx »

Hello,

I'm also having the same problem. Any changes I make in the settings appear to default back every time...

Any help would be appreciated.

Thank you.

Code: Select all

phpMyFAQ Version	2.9.1
phpMyFAQ API Version	1.1
Server Software	Apache
Server Document Root	/var/sites/l/lincsitsolutions.uk/public_html
phpMyFAQ Installation Path	/var/sites/l/lincsitsolutions.uk/public_html/phpmyfaq
PHP Version	5.6.22
Webserver Interface	CGI-FCGI
PHP Extensions	Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcached, memcache, mhash, ionCube Loader, Zend Guard Loader
PHP Session path	tcp://10.168.1.55:11211?persistent=0&weight=1&timeout=5&retry_interval=15
Database Server	mysqli
Database Server Version	5.6.30
Database Client Version	mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
Elasticsearch	n/a
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Configuration not saving

Post by Thorsten »

Hi,

do you guys getting any JavaScript errors?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Sparx
Posts: 4
Joined: Sat Jun 11, 2016 11:01 pm

Re: Configuration not saving

Post by Sparx »

Hi Thorsten,

No I'm not seeing any page errors at all. I simply hit save, it appears to have done it, but all of the changes are reverted.

I have just tried again to rename the FAQ site, this time it has worked but for the site name only though.

Any other changes e.g. date format, enable URL rewrite or enable email as mandatory etc - all just revert back to default settings.

Thanks
pauloh
Posts: 1
Joined: Wed Jun 15, 2016 12:06 pm

Re: Configuration not saving

Post by pauloh »

Greetings,

Has anyone found a solution? I have the same problem.

Sucess.
Thanks
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Configuration not saving

Post by Thorsten »

Hi,

will work on this issue after my vacation.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Configuration not saving

Post by Thorsten »

Hi,

please enable the DEBUG mode in inc/Bootstrap.php and try it again. Please check the developer console.

Thanks for your help!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
stratbasher
Posts: 4
Joined: Mon Jun 20, 2016 12:28 pm

Re: Configuration not saving

Post by stratbasher »

Sorry, not the OP here.

I've got the same problem as OP. I've set debug mode from false to true and I'm not getting anything in the browser dev console, and I don't really see any UPDATE queries in the page afterward (except for the query updating the session id, timestamp, etc.)

Windows 8.1
Firefox 47.0
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Configuration not saving

Post by Thorsten »

Hi,

is it possible to get access to any of these FAQs?

Thanks in advance!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
stratbasher
Posts: 4
Joined: Mon Jun 20, 2016 12:28 pm

Re: Configuration not saving

Post by stratbasher »

Sorry, but I can't let you into mine. I might be able to spin up a copy on my personal server for you to test on, however.
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Configuration not saving

Post by Thorsten »

Hi,

that would be awesome.

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
stratbasher
Posts: 4
Joined: Mon Jun 20, 2016 12:28 pm

Re: Configuration not saving

Post by stratbasher »

Working on this now....

I'll PM you with the IP, URL, shell credentials, etc. when it's ready.
Sparx
Posts: 4
Joined: Sat Jun 11, 2016 11:01 pm

Re: Configuration not saving

Post by Sparx »

Hi Thorsten

You can test this on my phpmyfaq page, it's only in testing and has no info on it anyway.

I will PM you the details now.

Thanks
Sparx
Posts: 4
Joined: Sat Jun 11, 2016 11:01 pm

Re: Configuration not saving

Post by Sparx »

I have PM'd you the site and test login details now Thorsten.

Thanks
stratbasher
Posts: 4
Joined: Mon Jun 20, 2016 12:28 pm

Re: Configuration not saving

Post by stratbasher »

My problem was permissions. While I was having issues on my original site, the one I set up for testing worked alright.

I chowned everything to the web root again just to make sure, then 755'ed everything, then 775'ed attachments, images, config, and data. It looks to be saving now. It's still strange that there was no error message.
Post Reply