MB
Asked
Hi,
after purchase item and when try to install it I got this error
Installer is unable to call your server! Please make sure you are installing on proper web server. Error: 404
https://snipboard.io/qkNITU.jpg
where?
Are you ready to install, you will need to prepare the following information
License details:
Purchased by (username)
Licence Key / Purchase code
Database server details:
Database Hostname
Database Name
Database Username
Database Password
User must have all the privileges on the database.
.env file?
after purchase item and when try to install it I got this error
Installer is unable to call your server! Please make sure you are installing on proper web server. Error: 404
https://snipboard.io/qkNITU.jpg
where?
Are you ready to install, you will need to prepare the following information
License details:
Purchased by (username)
Licence Key / Purchase code
Database server details:
Database Hostname
Database Name
Database Username
Database Password
User must have all the privileges on the database.
.env file?
- MSAnsweredHello,
You can check the server error logs for 500 error details. You can check the Laravel logs in the `storage/logs/` folder.
If the redirect error before install or after install? Clearing cache should resolve such issue.
Thank you - MSAnsweredHello,
I am sorry as can't manage to check localhosts but I can check live server.
Thank you - MBAnswered**[Mian Saleem](/u/saleem)**
there is no setup file there is no way to create .env file
I will try to give you server credential
please that is urgent for my business.I need an urgent solution
cache cleared several time:
[2021-06-01 08:03:32] production.ERROR: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Ray\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spatie\\Ray\\Ray')
#7 /home/bdigsd {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Ray\\\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spatie\\\\Ray\\\\Ray')
#7 /home/bdigsd at /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/ray/src/Ray.php:48)
[stacktrace]
#0 {main}
"}
.
.
.
#0 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/wims/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Ray\\\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spatie\\\\Ray\\\\Ray')
#7 /home/bdigsd at /home/bdigsdqb/wims.bdigital.website/wims/vendor/spatie/ray/src/Ray.php:48)
[stacktrace]
#0 {main}
"} - MBAnsweredAfter new try: error logs:
[2021-06-02 09:16:14] production.ERROR: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Ray\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spat {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/macroable/src/Macroable.php:14 - MBAnsweredcan it fix this syntax error:
"in PHP variables have to start with a $:"
?
in the first file code process stopped there:
https://floward.bdigital.website/flowardw/public/install#/check_list
"Installer is unable to call your server! Please make sure you are installing on proper web server. Error: 404
"
without any error logs
you can check it live
https://snipboard.io/DhAOju.jpg - MBAnsweredThe script from the wims.bdigital.website/warehouse/public is calling the wims.bdigital.website/warehouse/ .htaccess file which redirects you to wims.bdigital.website/ and causes the redirect loop.
Also, I was not able to find the .env file which is required.
I think that you send me the wrong file code of app.
I have disabled a couple of wrong redirects but it is required for you to work on the such error:
[02-Jun-2021 10:22:16 UTC] PHP Fatal error: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Ray\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spat in /home/bdigsdqb/wims.bdigital.website/warehouse/vendor/spatie/ray/src/Ray.php on line 48
13:33Yevhenii Ovcharenko:
Also, I was not able to find the .env file which is required.
regards - MSAnsweredHello,
What is your php versions? Please try with php7.4 at least but php8 is recommended. The `.env` file will be created with installer.
You need to set the root folder to `public` if you access public directly, It won't work. Once set correctly, you should be able to access the installer at `https://floward.bdigital.website/flowardw/install`
Thank you - MBAnsweredI think problem in your installer file.
I gave you all information about error with screenshot.
I haven't a private hosting . I need to use this app locally.why you said in your guide that you can install it locally?
why you don't read my previous replies.
I need solution please
I have no problem with the other apps
you wasted 3 days of my time. I don't know why? - MBAnswered**[Mian Saleem](/u/saleem)** I m using php 7.4
https://snipboard.io/MAQYHW.jpg
why you didn't read my previous replies?
"You need to set the root folder to public if you access public directly"
https://snipboard.io/6R5EBI.jpg
https://snipboard.io/4Q3TLq.jpg
I did but I got this error :
wims.bdigital.website redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
that isn't my own server - MBAnsweredthe same storage/logs errors:
[2021-06-02 14:11:49] production.ERROR: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\Ray\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spatie\\Ray\\Ray')
#7 /home/bdigsdqb/wims.bdigital.website/vendo {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bdigsdqb/wims.bdigital.website/vendor/spatie/macroable/src/Macroable.php:14
Stack trace:
#0 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Macroabl...')
#2 /home/bdigsdqb/wims.bdigital.website/vendor/spatie/ray/src/Ray.php(48): spl_autoload_call('Spatie\\\\Macroabl...')
#3 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(478): include('/home/bdigsdqb/...')
#4 /home/bdigsdqb/wims.bdigital.website/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile('/home/bdigsdqb/...')
#5 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Spatie\\\\Ray\\\\Ray')
#6 /home/bdigsdqb/wims.bdigital.website/vendor/spatie/laravel-ray/src/Ray.php(30): spl_autoload_call('Spatie\\\\Ray\\\\Ray')
#7 /home/bdigsdqb/wims.bdigital.website/vendo at /home/bdigsdqb/wims.bdigital.website/vendor/spatie/ray/src/Ray.php:48)
[stacktrace]
#0 {main} - Login to Reply