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

Missing the install folder #2

Closed
mmarconm opened this issue Jan 28, 2021 · 15 comments
Closed

Missing the install folder #2

mmarconm opened this issue Jan 28, 2021 · 15 comments
Assignees

Comments

@mmarconm
Copy link

I think that the install folder its missing, as a try to install running http://server/support/install and i got a 404 page.

@helpdesk-z
Copy link
Owner

Verify that .htaccess has been uploaded in your server and mod_rewrite is enable.

@helpdesk-z helpdesk-z self-assigned this Jan 28, 2021
@mmarconm
Copy link
Author

Do i need to install composer and install dependencies ?

@mmarconm
Copy link
Author

mmarconm commented Jan 28, 2021

Verify that .htaccess has been uploaded in your server and mod_rewrite is enable.
-> Yes, .htaccess was uploaded and mod_rewrite its enable, and when a try to install http://ip_address/support/install i got Not Found

@helpdesk-z
Copy link
Owner

The script includes the dependencies, so it's not necessary to install anything else.
If you get error 404 then the routing is not working, when you visit http://ip_address/support/ do you get any error?

@mmarconm
Copy link
Author

The script includes the dependencies, so it's not necessary to install anything else.
If you get error 404 then the routing is not working, when you visit http://ip_address/support/ do you get any error?

I got just a page 404, i enable mode_rewrite as you said but the problem continue. follow the link with some prints screen
print screen link:
explorer_yBcRASZMAU
https://ibb.co/j8YMj8q

@helpdesk-z
Copy link
Owner

If you get that error, it means the rewrite rule is not working
Are you using apache right? Because if you are under nginx, then the rewrite rule wont work with the htaccess.

If you are under apache, edit the htaccess and use this code:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

If it does not work, then the mod rewrite is not active/working
PS: If you have activated the mod rewrite, do not forget to restart your apache server

@mmarconm
Copy link
Author

Hello, Yes i enable rewrite and restarted the apache2 service. i will follow the steps above and try again. Thank you

Observation: I was wondering that in an older project of helpdeskz , there is a folder install on the root folder. and in this project there is not install folder anymore.

If works. do you authorize me to make a video, installing Helpdeskz to help others ?

I would like to help on this project, but unfortunately do not now Php, just python ":(

@helpdesk-z
Copy link
Owner

Sure, you can make videos about installation.

So I can close this issue, right?

@mmarconm
Copy link
Author

I will do a new install of debian 10, and reinstall again. this .htaccess that you mentioned above to edit the config
.... is it the support/.htaccess?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

@mmarconm
Copy link
Author

I edit apache2 files and php.ini, change the folder permission and change the productionp.php init_set 0 to 1. and it works

@Sphincz
Copy link

Sphincz commented Mar 23, 2021

I'm still having this issue. Install location gives a 404 error.
Fresh install of HDZ 2.0.2.
Help would much appreciated. Thank you,

@helpdesk-z
Copy link
Owner

Go to your site and visit this http://yoursite.com/index.php/install
If it works, then your mod rewrite is not configured

@balyam
Copy link

balyam commented Mar 29, 2021

After "/install" running I've got blank page with text "index.php". I spent few hours to find what was wrong with my installation.
Please, check that mod_rewrite is enabled or just run "sudo a2enmod rewrite" :(

@DragonflyMAD
Copy link

U need to change AllowOverride None to All:

<Directory /var/www/>
AllowOverride All

in /etc/apache2/apache2.conf

@swealpha
Copy link

how to do if you are under litespeed? :(

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

No branches or pull requests

6 participants