Unable to run vinguard on my webserver

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management April 27, 2018
Login to reply
Milos Stojanovic Support Agent
5 years ago

Well, that's some issue with your web server configuration and subdomains. There is nothing special that you should set in Vanguard to make it work on a subdomain, except the APP_URL inside the .env file, but it is not mandatory to set that.

Koul zak
5 years ago

Now when reuploaded , it works fine .
but we have little problem with the it.
i uploaded it to work on subdomain, but it doesn't work fine there it get me page not found

(the not found page is vinguard one not server one)

but when i run it from domain.com/mysubdomain it works fine ,

is there something wrong?

Koul zak
5 years ago
i will check and get back to u
Milos Stojanovic Support Agent
5 years ago

Check this article: http://jafty.com/blog/php-getting-parse-error-syntax-error-after-uploading-file-with-filezilla/

Basically just changing the transfer type to "Binary" should do the trick (if that is the issue of course).

Koul zak
5 years ago

ALL extentions are installed ,the second part you mentionned about ftp i dnt know how to check !

how do i know this ? im using filzillaon ubuntu


Milos Stojanovic Support Agent
5 years ago

Hey,

Are you sure that your server has all necessary PHP extensions provided in requirements section on https://milos.support-hub.io/articles/vanguard-installation, that are required for running the app?

Also, if you are using the FTP for uploading the files, make sure that your FTP client does not change the file encoding since from the error you are getting it looks like the files are being modified for some reason.

Koul zak
5 years ago

Hello sir; after installing it on localhost and making changes , all works fine on the local host , when uploading it to server i get this error , Parse error: syntax error, unexpected ’’/guzzlehttp/guzzl’ (T_ENCAPSED_AND_WHITESPACE) vendor/composer/autoload_static.php on line 1158 it works fine on local host , and on server no , PHP version in server is same as local host 7.2.4