Sep 3
rd
, 2010 at 7:19pm
Choose Language:
Bulgarian
Chinese
Deutsch
Deutsch_Du
English
Espanol
Nederlands
Norsk
Polski
Portuguese_Br
Russian
Suomi
Swedish
Ukrainian
Welcome, Guest. Please
Login
or
Register
Home
Help
Login
Register
Search
YaBB Chat and Support Community
›
YaBB 2 Development
›
YaBB 2 - Bugs [Fixed Archive]
› Error message when trying to change templates
(Moderator Groups: Development Team, Legacy Dev Team, Support Team)
‹
Previous Topic
|
Next Topic
›
Pages: 1
Error message when trying to change templates (Read 2848 times)
Midnight Cowboy
YaBB Newbie
Offline
Posts: 37
None
Error message when trying to change templates
Oct 19
th
, 2008 at 9:43pm
Hi. I'm getting this error message when trying to change templates in my User CP (after having changed it in the Admin). It's actually strange because you can see the new template if you enter as a guest but as soon as you try to change it in the user CP it sends that error message.
Do you know what it might be?
Software error:
Can't continue after import errors at Modules/Upload/CGI.pm line 27
BEGIN failed--compilation aborted at Modules/Upload/CGI.pm line 27.
For help, please send mail to the webmaster (or webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error:
[Sun Oct 19 17:31:46 2008] YaBB.pl: Can't continue after import errors at Modules/Upload/CGI.pm line 27
[Sun Oct 19 17:31:46 2008] YaBB.pl: BEGIN failed--compilation aborted at Modules/Upload/CGI.pm line 27.
Compilation failed in require at ./Sources/Subs.pl line 746.
For help, please send mail to the webmaster (or webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error:
[Sun Oct 19 17:31:46 2008] YaBB.pl: [Sun Oct 19 17:31:46 2008] YaBB.pl: Can't continue after import errors at Modules/Upload/CGI.pm line 27
[Sun Oct 19 17:31:46 2008] YaBB.pl: [Sun Oct 19 17:31:46 2008] YaBB.pl: BEGIN failed--compilation aborted at Modules/Upload/CGI.pm line 27.
[Sun Oct 19 17:31:46 2008] YaBB.pl: Compilation failed in require at ./Sources/Subs.pl line 746.
Compilation failed in require at /services/webpages/l/i/liguetotal.com/cgi-bin/yabb2/YaBB.pl line 58.
For help, please send mail to the webmaster (or webmaster), giving this error message and the time and date of the error.
Thanks!
P.S. I reuploaded the files listed in the error message and made sure the chmods were correct, but that didn't help
Back to top
IP Logged
Tony Barnett
YaBB Newbie
Offline
Posts: 7
Mansfield, Victoria, Australia
None
500 Internal Server Error when posting w YaBB 2.3
Reply #1 -
Oct 19
th
, 2008 at 5:04am
Hi,
I have just upgraded from 2.2.3 to 2.3 but encountered a "500 Internal Server Error" when trying to preview or post messages.
I have read the troubleshooting information in the YaBB Codex and narrowed the problem down to Modules/Upload/CGI.pm line 27
To get things working I had to change line 27 from...
use CGI::Util qw(rearrange make_attributes unescape escape expires ebcdic2ascii ascii2ebcdic);
to...
use CGI::Util qw(rearrange make_attributes unescape escape expires);
i.e. I had to remove "ebcdic2ascii" and "ascii2ebcdic" from line 27 in Modules/Upload/CGI.pm.
What are the ramifications of making this change and is there a way I can get things working as intended?
Any information or assistance would be appreciated.
Back to top
IP Logged
deti
Legacy Dev Team
Development Team
Offline
Posts: 2644
Prien am Chiemsee, Germany
None
Re: 500 Internal Server Error when posting w YaBB 2.3
Reply #2 -
Oct 20
th
, 2008 at 8:36pm
ebcdic2ascii is an Apache-specific function which is available only on EBCDIC based operating systems (OS/390, BS2000). It translates the EBCDIC encoded string ebcdic_str to its equivalent ASCII representation (binary safe), and returns the result.
ascii2ebcdic is the inverse of ebcdic2ascii.
If it makes problems remove it. I think everything will work as intended anyway.
Back to top
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
IP Logged
Midnight Cowboy
YaBB Newbie
Offline
Posts: 37
None
Re: Error message when trying to change templates
Reply #3 -
Oct 19
th
, 2008 at 11:50pm
Wow! It worked, thanks a lot!!!
Back to top
IP Logged
deti
Legacy Dev Team
Development Team
Offline
Posts: 2644
Prien am Chiemsee, Germany
None
Re: Error message when trying to change templates
Reply #4 -
Oct 20
th
, 2008 at 8:46pm
@ Captain John
You moved this posts here. What do you want me to do?
Shall I remove "ebcdic2ascii" and "ascii2ebcdic" from line 27 in Modules/Upload/CGI.pm?
Back to top
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
IP Logged
Captain John
Global Moderator
Documentation Team
Offline
Posts: 12342
Reno Beach, Ohio USA
None
Re: Error message when trying to change templates
Reply #5 -
Oct 20
th
, 2008 at 10:21pm
deti wrote
on Oct 20
th
, 2008 at 8:46pm:
Shall I remove "ebcdic2ascii" and "ascii2ebcdic" from line 27 in Modules/Upload/CGI.pm?
Absolutely NOT .... I am expecting a reason and a fix (whether something wasn't done correctly to cause these errors by the users, or the code is not doing what it is suppose to do) for the problem .
As you can see in these 2 threads, "Fresh Install, Upgrades" fail if user enables upload avatars or attachments, then tries to modify the profile or post.
5 users had these symptoms, 4 eliminated that part of the code and were able to modify profiles and post. I presume, they bypassed something this code does ... and I have no idea the consequence of doing so.
But 5 users with the same problem .. something not right.
Edited:
deti
Quote:
ebcdic2ascii is an
Apache-specific function which is available only on EBCDIC based operating systems
(OS/390, BS2000). It translates the EBCDIC encoded string ebcdic_str to its equivalent ASCII representation (binary safe), and returns the result.
ascii2ebcdic is the inverse of ebcdic2ascii.
Would this cause problems on WIIs, Windows 2000 or other Servers not Apache=specific ? Or do check environment to bypass if not ?
Back to top
«
Last Edit: Oct 21
st
, 2008 at 3:22pm by Captain John
»
FAQ's, Errors, Need Info Visit the YaBB Codex
IP Logged
deti
Legacy Dev Team
Development Team
Offline
Posts: 2644
Prien am Chiemsee, Germany
None
Re: Error message when trying to change templates
Reply #6 -
Oct 29
th
, 2008 at 2:31pm
I hope this problems will not happen again in next release due to changes like you can read here:
http://www.yabbforum.com/community/YaBB.pl?num=1225154895
Back to top
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
IP Logged
deti
Legacy Dev Team
Development Team
Offline
Posts: 2644
Prien am Chiemsee, Germany
None
Error message when trying to change templates
Reply #7 -
Oct 29
th
, 2008 at 2:32pm
This Topic was moved here from
YaBB 2 - Bugs [Open]
by
deti
.
Back to top
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
IP Logged
Pages: 1
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Yet another Bulletin Board
- YaBB News and Announcements
- Praise and Feedback
YaBB Support (English)
- Installation and Setup on Linux, UNIX, Mac, and BSD Servers
- Installation and Setup on Windows Servers
- Installation via cPanel
- Upgrading Existing YaBB Installations
- General Usage and Feature Troubleshooting
- Graphics, Templates, and Appearance
Discussions and Chat
- Talk It Up!
- YaBB Showcase
- YaBB-Friendly Website Hosts and Other Tips
- Programming and other Technical Help
- Testing. Testing. 1, 2, 3.
YaBB 2 Development
- YaBB 2 - Bugs [Need Verification]
- YaBB 2 - Bugs [Open]
- YaBB 2 - Bugs [Fixed]
- YaBB 2 - Bugs [Fixed Archive] ««
- YaBB 2 Development
YaBB 3 Development
- YaBB 3 Information and Questions
- YaBB 3 Feature Requests and Discussion
- YaBB 3 Features, Changes, and Fixes Implemented
YaBB Tools and Resources Development
- YaBB Converters
- YaBB Documentation
- YaBB Language Packs
- YaBB CMS Bridges
- YaBB Toolbar
- YaBB 1 (Development Ceased)
YaBB Support (International)
- Chinese Support and Chat
- Dutch Support and Chat
- Finnish Support and Chat
- French Support and Chat
- German Support and Chat
- Italian Support and Chat
- Japanese Support and Chat
- Portuguese Support and Chat
- Russian Support and Chat
- Spanish Support and Chat
- Scandinavian Support and Chat
YaBB Chat and Support Community
» Powered by
YaBB 2.5 AE
!
YaBB Forum Software
© 2000-2010. All Rights Reserved.