Topic Closed
Thi
3 Posts

Hai.

I'm trying to install Typesetter 5.1 in my Bluehost server. Uploaded the files thru ftp.

While trying to point browser to url, installation failed and shows an error msg saying SCRIPT_NAME or PHP_SELF is not set.

Pls guide me, how do i sort this out. Pls refer the screenshot attached.

 

2 years ago#11357

mabu
335 Posts
4.7K Downloads
4 Themes
8 Plugins

See https://stackoverflow.com/questions/279966/php-self-vs-path-info-vs-script-name-vs-request-uri

Does index.php exist in the root directory ?

Can You check with phinfo.php  <?phpinfo();?>

: _SERVER["PHP_SELF"] is for example info.php  _SERVER["SCRIPT_NAME"]  is also info.php

Can You put the directory rights to 755 ? (filezilla - and try a new installation with filezilla)

 

 

 

Edited: 2 years ago#11359

Thi
3 Posts

Hai.

This all seem foreign to me. But i wanna learn.
Pls guide me step by step.

Thanks.

2 years ago#11360

mabu
335 Posts
4.7K Downloads
4 Themes
8 Plugins

Your error is quite seldom. It my be caused by directory-rights which are set by a security-shield of the provider or by errors in filetransfer, seldom by a missing parameter of the provider (I hope You do not have a vserver where You must do many things manually?) 

If You use filezilla as ftp-client it is much easier.  If You use sftp then the client can use UTF-8 instead of ascii.

1. You can klick in filezilla with the right mousekey at the installation-directoy and then klick at the bottom of the popupwindow (at ..rights) and then fill in 755 and also for the files and directories beyond(hooks).

2. The next thing is to open a new file in notepad++ portable and fill in  <?  phpinfo();  ?> and save it as phinfo.php - and then copy it into the installation directory.

3. If You put a domain or a subdoman(for test) on the installation-directory , the You can go in Your browser at domain.com/phinfo.php .

A long window will open and You will see entries for _SERVER["PHP_SELF"]  and   _SERVER["SCRIPT_NAME"]  - which are hopefully not empty.

4. My proposal is to delete the old installation and to install the master from github/typesetter because it is the most progressed version.

Please use the reliable filezilla-portable for filetransfer, because i had already problems with other clienrts. If You are unsafe try this first.

 

 

Edited: 2 years ago#11361

Thi
3 Posts

It worked. Thanks.

Thanks for the prompt reply.

I jus did as per your guidance and refreshed the page. And it worked.

Thanks again.

2 years ago#11362

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register