We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

After Upgrading to 1.6 oxwall 500 internal server error | Forum

Daniel Kumitz
Daniel Kumitz Mar 27 '14
Ross, I've never even entered that folder before.

The image is indeed missing. Where can I find it to replace? P.S. If it's easier please feel free to just add it yourself.
The Forum post is edited by Daniel Kumitz Mar 27 '14
ross Team
ross Mar 27 '14
ow_static/themes/ANY OTHER THEME/images/powered-by-oxwall.png
Daniel Kumitz
Daniel Kumitz Mar 27 '14
got it, thanks!
Daniel Kumitz
Daniel Kumitz Mar 27 '14
Hi Ross, the site only loads when I use http://saspen.org/network.

saspen.org (without )
and
www.saspen.org/network

still produce the 500 error.

This never used to be a problem before...

Thanks!
Daniel
ross Team
ross Mar 30 '14
please, enable debug mode: http://docs.oxwall.org/plugin-tuts:enable-debug to see the actual error and paste it here, so I could assist you 
Daniel Kumitz
Daniel Kumitz Mar 31 '14
of course, why didnt I think of that!

interestingly, the php.500 disappeared in debug mode. saspen.org/network without http now works smooth.

www.saspen.org/network (with ) gives an error as follows (mentions 404 redirect, with debug off it's error 500)

OW Debug - Exception

Message:
File: /home3/sadcspen/public_html/network/ow_core/default_route.php Line: 115 Trace: #0 /home3/sadcspen/public_html/network/ow_core/router.php(338): OW_DefaultRoute->getDispatchAttrs('network') #1 /home3/sadcspen/public_html/network/ow_plugins/countryflag/classes/event_handler.php(38): OW_Router->route() #2 /home3/sadcspen/public_html/network/ow_plugins/countryflag/classes/event_handler.php(213): COUNTRYFLAG_CLASS_EventHandler->getRoute() #3 /home3/sadcspen/public_html/network/ow_plugins/countryflag/classes/event_handler.php(58): COUNTRYFLAG_CLASS_EventHandler->isRoute('BASE_CTRL_Join', 'index') #4 [internal function]: COUNTRYFLAG_CLASS_EventHandler->on_join_display_countries_list(Object(OW_Event)) #5 /home3/sadcspen/public_html/network/ow_core/event_manager.php(193): call_user_func(Array, Object(OW_Event)) #6 /home3/sadcspen/public_html/network/ow_core/response.php(178): OW_EventManager->trigger(Object(OW_Event)) #7 /home3/sadcspen/public_html/network/ow_core/application.php(442): OW_Response->respond() #8 /home3/sadcspen/public_html/network/index.php(83): OW_Application->returnResponse() #9 {main} Type: Redirect404Exception

I have following redirects defined:

Domain Directory Redirect URL Type Match Wildcard Action sadc-spen.org / http://www.saspen.org/home permanent yes
Remove saspen.org /network/ http://saspen.org/network/ permanent yes
Remove saspen.org / http://www.saspen.org/home permanent yes
Remove
The Forum post is edited by Daniel Kumitz Mar 31 '14
ross Team
ross Mar 31 '14
can you please disable country flag plugin and see whether the error persists?
Daniel Kumitz
Daniel Kumitz Mar 31 '14
Hi Ross,

I did, now it goes into my oxwall build and reports page not found. Because it redirects www.saspen.org/network to http://saspen.org/network/network for reasons I don't understand. I removed the redirect from www.saspen.org/network to saspen.org/network, but it still does. Why does it do that?
ross Team
ross Mar 31 '14
I'm sorry I don't understand what redirects you have set? What do you have as a home URL in ow_includes/config.php file?
The Forum post is edited by ross Mar 31 '14
ross Team
ross Mar 31 '14
What do you have as a home URL in ow_includes/config.php file
Daniel Kumitz
Daniel Kumitz Mar 31 '14
it was http://saspen.org/network. I changed it to http://www.saspen.org/network and now all seems to be fine (even http://saspen.org/network which lands at http://saspen.org/network/network/network (yes, triple! curious...) prompts the appropriate login screen.

Cheers!
ross Team
ross Apr 1 '14
Daniel, have you done any changes in the .htaccess file? please paste the content of your .htaccess file here
Daniel Kumitz
Daniel Kumitz Apr 1 '14
not to my knowledge (except through the redirect-wizard of bluehost)!



RewriteEngine on # Use PHP54 Single php.ini as default AddHandler application/x-httpd-php54s .php RewriteCond %{HTTP_HOST} ^sadc\-spen\.org$ [OR] RewriteCond %{HTTP_HOST} ^www\.sadc\-spen\.org$ RewriteRule ^/?$ "http\:\/\/www\.saspen\.org\/home" [R=301,L] RewriteCond %{HTTP_HOST} ^www\.saspen\.org$ RewriteRule ^/?$ "http\:\/\/www\.saspen\.org\/home" [R=301,L]



ross Team
ross Apr 1 '14
oxwall .htaccess file should look like this: 


Options +FollowSymLinksRewriteEngine On
AddEncoding gzip .gzAddEncoding gzip .gzip<FilesMatch "\.(js.gz|js.gzip)$">  ForceType text/javascript</FilesMatch><FilesMatch "\.(css.gz|css.gzip)$">  ForceType text/css</FilesMatch>

RewriteCond %{REQUEST_URI} !^/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/RewriteCond %{REQUEST_URI} !/ow_cron/run\.phpRewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteRule (.*) index.php



is that oxwall htaccess you provided?

Daniel Kumitz
Daniel Kumitz Apr 3 '14
no, that was the htaccess in the global file.

Where am I looking for the oxwall htaccess please? when I search for .htaccess within the oxwall folder, I get a lot of hits, but it doesn't show up on file manager, legacy file manager or ftp...
ross Team
ross Apr 3 '14
Ok, Daniel, I found out the issue, please read this thread: http://www.oxwall.org/forum/topic/17809
Daniel Kumitz
Daniel Kumitz Apr 4 '14
awesome, thanks! Looking forward to the subsequent fix in future updates
Pages: « 1 2