Replies: 6 comments 2 replies
-
|
Hi Does it work if you access the install page directly http://www.example.com/vvveb/install/index.php? For subdirectory install you only need to edit env.php and set defined('V_SUBDIR_INSTALL') || define('V_SUBDIR_INSTALL', '/vvveb');If you are using apache you also need to update .htaccess line 42 and /public/.htaccess line 43 and add the You don't need to edit index.php or admin/index.php |
Beta Was this translation helpful? Give feedback.
-
Can you please check if One possible cause could be file permissions, probably the file can't be created because there is no write permission for If you access www.example.com/vvveb/index.php and www.example.com/vvveb/admin/index.php does it work? if www.example.com/vvveb/index.php works but www.example.com/vvveb/ does not work then probably you don't have apache mod_autoindex enabled. You need to have mod_autoindex and mod_rewrite apache modules enabled. |
Beta Was this translation helpful? Give feedback.
-
|
So, upon testing more with a new install, first off just changing env.php still sends to root when accessing www.website.com/vvveb, but, when accessing www.website.com/vvveb/install/index.php, the install process works, and creates config/db.php as required. The second problem occurs once the installation process is complete, it sends me to "www.website.com/vvveb/vvveb/admin//index.php?success=Installation%20succesful!&errors=" which gives a 404, because there's "vvveb" twice instead of once. The third issue is, then accessing www.website.com/vvveb stills sends to root, which is why it tries to go to www.website.com/install/index.php, because from root directory it cannot find config/db.php is my guess. If I manually edit the url and go to "www.website.com/vvveb/admin//index.php?success=Installation%20succesful!&errors=", I then get a installation successful and can connect to the admin panel, but the Home page still points to root directory, and thus other pages below all throw 404. edit: Forgot to mention, from that point if I try to access www.website.com/vvveb/index.php it lets me see the page, though it throws 404 for all content. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for feedback. Double subdirectory in redirect was a bug, it's fixed in the latest.zip changed file If it works with www.website.com/vvveb/index.php but not with www.website.com/vvveb/ then this is probably caused by some apache configuration related to mod_autoindex or mod_rewrite Make sure that you have mod_autoindex and mod_rewrite active by accesing a php file with <?php
phpinfo();They should show in the apache section. The pages that show not found message have correct urls eg http://www.website.com/vvveb/page/about? If they have wrong url's can you try clearing cache from admin? Just to make sure, you need to have the subdirectory path set in env.php withtout a trailing slash eg |
Beta Was this translation helpful? Give feedback.
-
|
Hello, thanks for assisting. I checked everything you mentioned to no avail. mod_autoindex and mod_rewrite are both active. |
Beta Was this translation helpful? Give feedback.
-
|
Hi page is not a folder, page urls are captured through mod rewrite that sends all page requests to index.php, the rewrite rules are inside .htaccess Another thing to check is that apache has You can check this by writing something random inside .htaccess to generate an error, after the change you should get a 500 internal server error if Some other things to try is to change You can also check apache error log to see what is generating 404 error when accessing page urls. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Installed into a subdirectory (vvveb/) and getting 404s, it keeps sending me to root.
I checked answers for similar problems and changed the suggested files in all of them (env.php, .htaccess, index.php, admin/index.php) to no avail.
What other files do I need to edit to make the install work ?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions