The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Warning message with version 2.0.0-beta-20090908 - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Warning message with version 2.0.0-beta-20090908 (/showthread.php?tid=292)

Pages: 1 2


Warning message with version 2.0.0-beta-20090908 - Nikita007 - Sep 22nd, 2009

Hello,

I installed version 2.0.0-beta-20090712 and everything seemed to be OK. Then I wanted to upgrade to the latest version 2.0.0-beta-20090908 and generated an upgrade file from your system. Once I installed it and tested it, I get the following warning messages (see below).

Then I removed everything and started a new installation of the version 2.0.0-beta-20090908 from the scratch and unfortunately I still had the same warning message.

Could you please help? Is it because of the PHP version on the server? It runs PHP version 4.

Many thanks

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html//12345/xxxx/documents/formtools/global/code/sessions.php on line 59

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html//12345/xxxx/documents/formtools/global/code/sessions.php:59) in /var/www/html//12345/xxxx/documents/formtools/global/session_start.php on line 12

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html//12345/xxxx/documents/formtools/global/code/sessions.php:59) in /var/www/html//12345/xxxx/documents/formtools/global/session_start.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html//12345/xxxx/documents/formtools/global/code/sessions.php:59) in /var/www/html//12345/xxxx/documents/formtools/global/session_start.php on line 14


RE: Warning message with version 2.0.0-beta-20090908 - Ben - Sep 22nd, 2009

Hi Nikita,

Yeah... I think I know what the problem is. Edit your /global/session_start.php file and change it to this:

PHP Code:
<?php

if ($g_session_type == "database")
  
$sess = new SessionManager();

if (!empty(
$g_session_save_path))
    
session_save_path($g_session_save_path);

session_start();
header("Cache-control: private");
header("Content-Type: text/html; charset=utf-8");

$folder dirname(__FILE__);
require_once(
"$folder/library.php"); 

Let me know if that fixes it.

- Ben


RE: Warning message with version 2.0.0-beta-20090908 - Nikita007 - Sep 23rd, 2009

Hi Ben,

Thank you very much.

I changed it and I don't have the warning message anymore.

Best regards,

Nikita


RE: Warning message with version 2.0.0-beta-20090908 - Ben - Sep 23rd, 2009

Hmmm...! Thanks, Nikita. I'm going to take another look at this one tonight. VERY confusing!!!! It shouldn't work! :-)

- Ben


RE: Warning message with version 2.0.0-beta-20090908 - sammyrusso - Oct 2nd, 2009

(Sep 23rd, 2009, 6:30 PM)Ben Wrote: Hmmm...! Thanks, Nikita. I'm going to take another look at this one tonight. VERY confusing!!!! It shouldn't work! :-)

- Ben

Hey Ben, I had the same issue as Nikita, I updated the sessions_start.php like you had suggested and now I have this error...

Warning: Cannot modify header information - headers already sent by (output started at /home/admin/public_html/formtools/global/config.php:1) in /home/admin/public_html/formtools/index.php on line 12


RE: Warning message with version 2.0.0-beta-20090908 - Ben - Oct 4th, 2009

Yeah, that's the error you SHOULD see - it's the error I see my own servers when I re-order the sessions start file. I'd revert it to the old file - that's not the cause of the problem, I don't think.

Did you try switching to using database sessions instead? If not, try this. Add this to your /global/config.php file:

PHP Code:
$g_session_type "database"

If that doesn't let you log in properly, post me back.

- Ben


RE: Warning message with version 2.0.0-beta-20090908 - Nikita007 - Oct 5th, 2009

And for me? Since it is working with the code you posted on the 23rd September, can I leave it like it is?

Thanks.


RE: Warning message with version 2.0.0-beta-20090908 - Diane - Nov 17th, 2009

Hi,
I am having a very similar problem. I added the database cache alternative, and was able to log into my formtools. However, the form still shows that same error.
http://track.onthebus.org/rsvpform.php

The form was working for over a week with no issues. The form still submits the information, but as the site owner is freaking out, and I don't know what could have changed to make the errors show, I really need some help asap!

I have tried clearing my pc cache, and I don"t know what else to try.


RE: Warning message with version 2.0.0-beta-20090908 - Ben - Nov 17th, 2009

Hey Diane,

First off, just to make double-sure, what version of the API are you running? (To find out, log into Form Tools and go to Settings -> Main). Make sure you're running the latest version (20090908) since that version included an important upgrade that allows you to use both db + PHP sessions.

But it's probably not that. If it was working for a week then stopped, it sounds like something on the server may have changed.

That error message you're seeing means that the server's unable to create the sessions.

Here's an article that outlines the problem and a possible fix (assuming your host can't lend a hand):
http://support.ultimatelocator.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=60

Good luck...!

- Ben


RE: Warning message with version 2.0.0-beta-20090908 - Diane - Nov 17th, 2009

(Nov 17th, 2009, 11:53 AM)Ben Wrote: First off, just to make double-sure, what version of the API are you running? (To find out, log into Form Tools and go to Settings -> Main). Make sure you're running the latest version (20090908) since that version included an important upgrade that allows you to use both db + PHP sessions.
I did this upgrade, and it made it worse.
Quote:That error message you're seeing means that the server's unable to create the sessions.
I read the article, and checked phpinfo. There was no location assigned. I then tried to create a php.ini to adjust it myself, fail. Then I called the host provider. They were confused, but did somehow manage to get some file location in my phpinfo.

Good news: Form works!

Bad news: I can't log into formtools, no proper password available even when using the password encryptor and phpmyadmin, along with the following errors:

Warning: Unknown(): open(/tmp/sess_468967af1085c408f0091ca26c399174, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

http://track.onthebus.org/form/



using password reset, get blank page with errors:

Warning: session_write_close() [function.session-write-close]: open(/tmp/sess_468967af1085c408f0091ca26c399174, O_RDWR) failed: Permission denied (13) in /homepages/10/d289530726/htdocs/Tracking-tia/form/global/code/accounts.php on line 142

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /homepages/10/d289530726/htdocs/Tracking-tia/form/global/code/accounts.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at /homepages/10/d289530726/htdocs/Tracking-tia/form/global/code/accounts.php:142) in /homepages/10/d289530726/htdocs/Tracking-tia/form/global/code/accounts.php on line 143

help...