Hello everyone, I'm trying to duplicate an elgg installation but it's not working. I'm following the instructions but apparently my css won't load.
I believe the problem might be here:
"Note that you also need to delete the views cache on the test server after the copy process. This is a directory calledviews_simplecache in your data directory and the file called view_paths (or views for elgg 1.8+)."
This is really not clear to me. Do I have to delete the ENTIRE views_simplecache or just all of its CONTENTS? Also, I cannot find this file "views" (im on elgg 1.8+) inside the data directory.
Please help!
Further info:
Centos 6
SELinux off
777 permissions to all elgg directories (i'll change that later)
Applied restorecon -R to all elgg directories.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
You can remove all the cached views and view_paths from the data directory. Then run the upgrade.php
Hi Team Webgalli, thank you very much for your answer. That's exactly the point, I do not have any "views_path" file, nor a file called "views".
Here is what I have inside the directory:
There is neither a file called "views" nor a file called "view_paths". Those files, as mentioned by the previous post, should be deleted! Since I cannot find them, I just issue a
Without any success. Some files are recreated into the directory after the upgrade.php, but no CSS is loaded in the page! When I try to login, I'm redirected to www.example.com/action/login and this gives a 404. :(
I tried renaming htaccess_dist to .htaccess, no deal. Tried to comment the 64M limitation, included RewriteBase... i'm running out of options :(
Try doing the mod rewrite test (http://docs.elgg.org/wiki/Mod_rewrite_test) and let us know the results
Hi Mark, thanks for your reply!
I did it, and it said "mod_rewrite does not work". Strange, I thought the module was loaded. I then issued a:
And it is apparently loaded! I restarted the service but still no deal.
Here's a part of my /etc/httpd/conf/httpd.conf:
Everything is with the 777 permission. Any ideas?
Are you installing in a sub-directory? Have a look at this page: http://docs.elgg.org/wiki/Install_Troubleshooting
On some servers i have had to set the PHP open_basedir path to the data directory in order to get it working. Also have a look at your logs and see are there any errors
Yes, but I changed the document root of my /etc/httpd/conf/httpd.conf accordingly and also tried with RewriteBase /:
Other part of my /etc/httpd/conf/httpd.conf showing the default virtualhost:
The result of httpd -S command is "Syntax OK".
And there is plenty of errors in the log saying permission denied:
But I had chmoded 777 everything!
I'm really lost here :( Already disabled SELinux, reseted firewall, reinstalled apache, smoked cigarettes...
I don't know what else to do, and the worst is that I could finally convince ppl at my work to use it. Any suggestion is seriously appreciated.
I thank you all in advance!
You must first get mod_rewrite working. Check phpinfo() and see is it loading
It is loaded!
a. modrewrite test - It says now "mod_rewrite works"
b. phpinfo - mod_rewrite appears in the "Loaded Modules" area
c. The command apachectl -t -D DUMP_MODULES | grep rewrite returns "Syntax Ok"
I just erased everything and start over. Nothing, still not loading the CSS.
The error log:
I still think it is some problem with the views cache... please help
Hi again, I found an old post that seems totally related here, but there is no solution. Tomorrow I'll start over once again, disabling all third-parties plugins to see if I have a different result. But I'm still with my initial doubt regarding this phrase from the instructions:
Do I have to delete the entire views_simplecache directory or just its contents?
Also, I don't find the "file called views_paths" nor the "views for elgg 1.8+" inside the data directory. I'm using elgg 1.8.4. Where exactly they supposed to be located?
Thank you guys.
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.