1
kaotik
Mod & Theme Uploader module
  • 2007/10/15 11:06

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Has anyone tested my mod & theme uploader? What did you think? Did it work for you, was there any issues or bugs?
I just want to know if this module is going in the right direction.

2
debianus
Re: Mod & Theme Uploader module
  • 2007/10/15 12:11

  • debianus

  • Not too shy to talk

  • Posts: 179

  • Since: 2006/12/17


It would be a good improvement for XOOPS.
I will try help with tests.
Just a question: 1.03 release is alfa, beta or RC?

3
kaotik
Re: Mod & Theme Uploader module
  • 2007/10/15 15:19

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


it's an alpha, more like a proof of concept. I wanted to see if were possible, without a user having to worry about CHMOD or file ownership. Let me know about any issues, sugestions or problems.

4
debianus
Re: Mod & Theme Uploader module
  • 2007/10/15 18:07

  • debianus

  • Not too shy to talk

  • Posts: 179

  • Since: 2006/12/17


In a host with PHP version 4.4.1
MySQL version 4.0.24 I have got this message:

Quote:
[error] [client 89.128.102.186] Premature end of script headers: index.php | file has no execute permission index.php , referer: http://debianus.org/modules/system/admin.php Error 500: Script Execution Failure Description: The server encountered an internal error or misconfiguration and was unable to complete your request. Most common reasons for returning this error message are:
• File Upload Mode When you upload Perl, CGI scripts via FTP you should use always ASCII mode. If you get "Error 500: Script Execution Failure" you should check whether your FTP client uses ASCII mode when uploading your scripts, because if it uses BINARY mode to upload your scripts they won't work on the server. The problem caused by wrong upload mode is associated with the way different operating systems handle the "end of line" character. Unix system uses a "line-feed" (LF), Windows uses a "carriage-return" (CR) and "line-feed" (LF) pair. That's why it is very important that you set the uploading mode to ASCII.
• File Permissions When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.
• Script Errors This is the third well known reason for getting "Error 500: Script Execution Failure" upon execution of your scripts. Check your scripts for any obvious syntax or programming errors to make sure your code is not broken. Remember: When you get a "Error 500: Script Execution Failure", you should always check for any file uploading problems (ASCII/BINARY) and the executable permission settings. Once those are checked and verified, it looks like there is a syntax error or some other problem in the script.

I have checked the permissions and they are right

5
kaotik
Re: Mod & Theme Uploader module
  • 2007/10/17 9:10

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Is your web server windows or linux?
I'm investigating this bug.

6
debianus
Re: Mod & Theme Uploader module
  • 2007/10/17 13:49

  • debianus

  • Not too shy to talk

  • Posts: 179

  • Since: 2006/12/17


Sorry, the host do not offers this information. It is awardspace.

A suggestion: I tried upload a module and it had not the right structure (modules/name).
the message was:
"File is valid, and was successfully uploaded.
Only modules and themes are allowed"
Of course, nothing occured in the server.
I believe that the module must check the tar file in order to examine this point.

7
kaotik
Re: Mod & Theme Uploader module
  • 2007/10/18 9:46

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Yes, I placed a simple message in this version. I want to test if it correctly uploads the zip, extracts it, then places it in the correct place. Did you try with a zip using the correct structure (modules/name)? Did it work?

The next version will have more complete information.

Login

Who's Online

333 user(s) are online (289 user(s) are browsing Support Forums)


Members: 0


Guests: 333


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits