Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install not working #411

Closed
vezza opened this issue Oct 21, 2019 · 17 comments
Closed

Install not working #411

vezza opened this issue Oct 21, 2019 · 17 comments
Labels
Milestone

Comments

@vezza
Copy link

vezza commented Oct 21, 2019

Describe the bug
I'm trying to install the latest beta version (7.0.0) but as soon as I click "Head to the installer" I get the 404 Not Found Error page and the following message:
Not Found
The requested URL was not found on this server.
Version
7.0.0 (beta)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'home page'
  2. Click on 'Head to the installer'
  3. See error: 404 Not found - Not Found - The requested URL was not found on this server.

Expected behavior
when you click 'Head to the installer' I'm expecting the installer page

Screenshots

Additional context

@nabeelio
Copy link
Owner

Hi Vezza. Can you try the latest dev build from this link? http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz

What web server are you using?

@vezza
Copy link
Author

vezza commented Oct 21, 2019

Same error... My web server is a Apache 2.4.41 on Fedora 30 x86_64 linux system. It seems to me that the install folder is missing inside the package...

@nabeelio
Copy link
Owner

It's not missing, it uses mod_rewrite to rewrite the URLs... is Apache configured to use/parse .htaccess files?

@nabeelio
Copy link
Owner

So this seems to be working on an Apache/cPanel install:
https://vmsdemo.space/install

Make sure the directory you're pointing to for Apache is the public/ folder, not the root phpVMS folder.

@nabeelio
Copy link
Owner

Actually I'm seeing some issues with loading assets. The easiest is just to point to /path/to/phpvms/public as the directory root.

@cyrussutaria
Copy link

Hi, Which is the last known good version which can be safely deployed on a live server?

@nabeelio
Copy link
Owner

The dev version I linked to above

@nabeelio
Copy link
Owner

BTW it hasn't been released yet, so I wouldn't use it for an active VA. I'm hoping to get this into a 2nd beta and released soon

@cyrussutaria
Copy link

Thanks. There is definitely room for fixing the install process or the documentation. I have been scratching my head for the last two days trying to set it up, but just cant seem to wrap my head around it. I have it installed in a folder called phpvms. My (sub) domain used for testing is pointing to the /phpvms/public folder. When i launch the site, it goes to the page which says "phpVMS Not Installed" I hit the "Head on to the Installer" button and then i get :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
However, if I access it as /index.php/install it proceeds but with no style and supporting assets etc loaded.
So i'm not sure what is happening. Any guidance will be appreciated.

@ProAviaAZ
Copy link

@cyrussutaria - what version of php? I had the same issue with php 7.2.21. After host updated to php 7.2.22 the issue was resolved. Not sure if it was the php version or that the host had mis-configured that php version somehow. Different releases of phpVMS v7 didn't matter.

@cyrussutaria
Copy link

cyrussutaria commented Oct 24, 2019

~$ php -v
PHP 4.4.9 (cgi-fcgi) (built: Aug 29 2019 12:59:15)
~$ php7.3-cli -v
PHP 7.3.10 (cli) (built: Oct 1 2019 07:20:21) ( NTS )

On my hosting providers control panel, the ver selected for php is 7.3

@nabeelio
Copy link
Owner

PHP 4.4.9 (cgi-fcgi) (built: Aug 29 2019 12:59:15)

Yikes. Is the site using PHP 7.1 or higher? You can control that in cpanel

@cyrussutaria
Copy link

That is the CLI version. phpinfo would show 7.3. I fixed the alias now. But same problem.
~/phpvms$ php -v
PHP 7.3.10 (cgi-fcgi) (built: Oct 1 2019 07:21:12)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies

Host is pointing to phpvms/public directory

@nabeelio
Copy link
Owner

nabeelio commented Oct 25, 2019 via email

@cyrussutaria
Copy link

Hi, it was an error related to initial htaccess file. fixed with a simple /
Thanks

@nabeelio
Copy link
Owner

nabeelio commented Dec 16, 2019 via email

@cyrussutaria
Copy link

RewriteRule ^ index.php [L]
had to be changed to
RewriteRule ^ /index.php [L]

Funny, but it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants