UPgrade Problem from 2.5.2beta to 2.6.2

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

I didn't read the instructions before I upgraded and now I have a problem. I deleted all my files and loaded the 2.6.2 files. Since I didn't keep the required files I lost the ability to run "update.php." So, I backup up my MySQL database, did a clean install of 2.6.2 and restored my database. But, my data does not show up in 2.6.2. I can go to PHPMyAdmin and the data is there. Can you help me fix my mess up?
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by Thorsten »

Hi,

if you have 2.5.x data in your database, just run the update.php script and everything will be converted to 2.6.x

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

I did that and still the catagories and questions do not show up. My site is http://prewrathministries.org/faq
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

I found my problem with the data not showing up. and I was able to get the update.php to run successfully. But now I am getting the following errors when I go to the FAQ page:

phpMyFAQ notice [8]: Undefined index: main.attachmentsPath in Configuration.php on line 127

phpMyFAQ notice [8]: Undefined index: main.attachmentsPath in Configuration.php on line 135

phpMyFAQ notice [8]: Uninitialized string offset: 0 in Init.php on line 127

phpMyFAQ warning [2]: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 50

phpMyFAQ warning [2]: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 50

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 230

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 574

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 575

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 576

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 577

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 578

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 579

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/prewrath/public_html/faq/inc/functions.php:173) in index.php on line 580

Can you help me?
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

nevermind - fixed it - missing key "main.attachmentsPath" in faqconfig table

Thanks
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

I have it working now, but I am unable to login as admin. It seems to accept the login, but leaves me at the login prompt. Any help you could give me would be appreciated.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by Thorsten »

Hi,

could you please send me your database by mail? I can check it then.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

Well, I logged in today and it is working. Must have been something stuck in my cache. Thank you.
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by echarpie »

Changing the permissions fixed my problem. Everything seems to be working properly now, thank you.

May I ask one more question? When I "take and edit" an open question it creates a new FAQ article, but the question remains in open questions and I have to manually remove it. Is this correct or am I missing the proper way to handle open questions?
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: UPgrade Problem from 2.5.2beta to 2.6.2

Post by Thorsten »

Hi,

this is correct... I know, not everyone likes this workflow.

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