The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
|
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 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! :-) 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... |