Error at last step of installation process

Closed
Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management June 03, 2018
Login to reply
Milos Stojanovic Support Agent
3 months ago

Hey Martin,

I'm glad that it did the job, that's why I'm here. :) 

Regards,

Milos

Martin Epple
3 months ago

Hi Milos!


That did the job! No chance to find this on my own. Look much more pleasant now. 

Now i´ll start to modify style sheets and integrate your work to my website!


Best regards!

Milos Stojanovic Support Agent
3 months ago

Hey Martin,

It is because you are running the application from a subfolder and not from a root folder. It is something that's reported by few other customers and it will be fixed in next release. In meantime, all you need to do is to wrap

mix('...')

with

url(mix('...'))

in resources/views/layouts/app.blade.php file.

Make sure to do it for both, CSS stylesheets in header and JavaScript snippets at the bottom of the app.blade.php file.

Martin Epple
3 months ago

Good Morning, Milos! 


Thx for your reply! Did not think about that way, worked good so far, after setting the time-out-limits in the INI-files. 

Actual problem is, that when i log in, css seems to fail. (att. screenshot). 

Milos Stojanovic Support Agent
3 months ago

Hey Martin,

It looks like your hosting provider does not allow you to execute the specific commands on your server because of the security.

If possible, please your setting and add /usr/share/7.2/pro/bin to the list of allowed paths. Here is an example on how another Vanguard customer solved it: https://milos.support-hub.io/tickets/11

If it is not possible to fix it like this, then I will recommend you to install Vanguard locally and then upload it to the server. You should do the following

  • Install Vanguard on your localhost so it can generate the .env file and create database tables
  • Export all database tables to an SQL file and upload it to your server's database (via PHPMyAdmin or similar tool)
  • Upload all the application files to your server or, if you have already uploaded them, just upload the newly created .env file (as mentioned, this file is being created after successful registration) to Vanguard's root folder on your server.
  • Edit the .env file and update database credentials so it can properly connect to your server's database
Martin Epple
3 months ago

Hi Milos! 

Sadly i get an error when installing your app on my webspace. I already had contact with the hosters support team. They can not deal with the message, and told me, that there is nothing they can do. 

Permission set "777" for complete folder. Hoster is "bplaced.net", i do not have direct acess to apache server.

Specific part fron Eror log: 

production.ERROR: is_executable() [<a href='http://de.php.net/function.is-executable'>function.is-executable</a>]: open_basedir restriction in effect. File(/usr/share/7.2/pro/bin/php) is not within the allowed path(s): (/users/famepple/:/users/_temp/famepple)


Please, take a look at it. 


Greetings from Austria! 


Best regards,

Martin