Problem with Retrieving Articles - getting 500 errors

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

Wondered if anyone could help. http://phpmyfaq.sotic.net/ if i click on any of the articles I am getting a 500 error. I have tried to redeploy to another location but when I run back up it creates a file of 0KB. Any ideas, has been fine for sometime.

phpMyFAQ Version 2.8.22
Server Software Apache
Server Document root /afs/.sotic.net/project/sotic/phpmyfaq
phpMyFAQ installation path /afs/.sotic.net/project/sotic/phpmyfaq
PHP Version 5.5.21
Webserver Interface APACHE2HANDLER
PHP Extensions Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, mcrypt, mongo, msgpack, mssql, mysqlnd, mysql, mysqli, newrelic, PDO, pdo_dblib, pdo_mysql, pdo_sqlite, Phar, posix, shmop, SimpleXML, soap, sockets, sqlite3, sybase_ct, sysvmsg, sysvsem, sysvshm, tokenizer, xml, wddx, xmlreader, xmlwriter, xsl, memcached, zip, mhash, ionCube Loader, Zend OPcache
PHP Session path cache1:11211,cache2:11211,cache3:11211,cache4:11211,cache5:11211
Database Server mysqli
Database Server Version 5.5.41-log
Database Client Version mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem with Retrieving Articles - getting 500 errors

Post by Thorsten »

Hi,

please enable the debug mode in inc/Bootstrap.php and try it again. You should also consider to upgrade to 2.8.26.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Re: Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

ok will give that a try.
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Re: Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

Ok have done that and get this

Fatal error: Call to undefined method PMF_Helper_Faq::renderChangeLanguageSelector() in /afs/.sotic.net/project/sotic/phpmyfaq/artikel.php on line 294
Last edited by grubbyhat on Thu Mar 31, 2016 10:59 am, edited 1 time in total.
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Re: Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

and this when I go into Admin

phpMyFAQ notice [8]: Undefined index: 2016-03-31 in /afs/.sotic.net/project/sotic/phpmyfaq/inc/PMF/Session.php on line 423
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem with Retrieving Articles - getting 500 errors

Post by Thorsten »

Hi,

I will check these issues, thanks!

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

Re: Problem with Retrieving Articles - getting 500 errors

Post by Thorsten »

Hi,

I fixed the second issue. I cannot reproduce the first issue, please upgrade to 2.8.26 first and try it again. Looks like a file is missing: inc/PMF/Helper/Faq.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Re: Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

Thanks for your help. We will try and upgrade as suggested
grubbyhat
Posts: 6
Joined: Wed Mar 23, 2016 4:13 pm

Re: Problem with Retrieving Articles - getting 500 errors

Post by grubbyhat »

Additional Query. We have moved our platform to AWS and so have tried to Back and up from FAQs on old platform to restore to new platform with different URL but whilst it restores fine with a few SQL errors it keeps linking back to the old URL all the time. Is there a setting I need to change so that it stays on correct URL. Old platform http://phpmyfaq.sotic.net/ new platform http://phpmyfaq.sotic.soticcloud.net/
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem with Retrieving Articles - getting 500 errors

Post by Thorsten »

Hi,

you have to change the URL in the table faqdata.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply