Since 10/14/2014 my perl script can't write-modify any file

Status
Not open for further replies.

text2gif

New Member
Messages
2
Reaction score
0
Points
1
Hi,

In my site, there is perl script that creates quizzes in moodle gif format (http://text2gift.x10.mx/Text2GiftConverter.html).



That script has a counter that modifies a file introducing some data of each use of the script (IP, browser, number of questions processed...). That was working fine, but since 10/14/2014 it does not work anymore, the script is unable to modified the txt file. It is as if the script does not have write permission. The same problem applies to a little script I wrote to create a "hello world" text file, the server executes the script but the file is not created. All file permissions are right. Any clue of what is happening?






Thanks very much
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Perl should not be working at all; the only supported server-side scripting language on Free Hosting servers is PHP (although config errors during server upgrade/maintenance cycles occasionally allow unsupported code to run for a short time before the config errors are corrected).
 

text2gif

New Member
Messages
2
Reaction score
0
Points
1
Thanks for your answer,
Well... I'm very surprised to read that, since in my site perl is running without problems since more than a year. Furthermore, when I created the account perl was supported in free hosting. If perl is not allowed, I have to move to another server.
Best regards.
Manuel.
------------------------------
Follows the list of perl environment variables as reported in my free hosting site. You can access to it in the following address: http://text2gift.x10.mx/cgi-bin/todasvariables.cgi
-------------------------
CONTEXT_DOCUMENT_ROOT = /usr/local/apache/htdocs
CONTEXT_PREFIX =

DOCUMENT_ROOT = /usr/local/apache/htdocs

GATEWAY_INTERFACE = CGI/1.1

HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

HTTP_ACCEPT_ENCODING = gzip

HTTP_ACCEPT_LANGUAGE = es-ES,es;q=0.8

HTTP_HOST = text2gift.x10.mx

HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36 OPR/25.0.1614.50

HTTP_X_FORWARDED_FOR = 193.144.79.216

HTTP_X_VARNISH = 20548621

LD_LIBRARY_PATH = /usr/local/apache/lib

PATH = /sbin:/usr/sbin:/bin:/usr/bin

QUERY_STRING =

REMOTE_PORT = 59104

REQUEST_METHOD = GET

REQUEST_SCHEME = http

REQUEST_URI = /cgi-bin/todasvariables.cgi

SCRIPT_FILENAME = /home/text2gif/public_html/cgi-bin/todasvariables.cgi

SCRIPT_NAME = /cgi-bin/todasvariables.cgi

SCRIPT_URI = http://text2gift.x10.mx/cgi-bin/todasvariables.cgi

SCRIPT_URL = /cgi-bin/todasvariables.cgi

SERVER_ADDR = 198.91.81.2

SERVER_ADMIN = no-reply@x10hosting.com

SERVER_NAME = text2gift.x10.mx

SERVER_PORT = 80

SERVER_PROTOCOL = HTTP/1.1

SERVER_SIGNATURE =

SERVER_SOFTWARE = Apache

X_DOM = /home/text2gif/public_html

X_USER = text2gif
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Perl is required for some of what the host needs to run, it's not available to user accounts. And, as I said, if it's been running for you, that was a mistake that has apparently been corrected.
 
Status
Not open for further replies.
Top