Closed ncic closed 12 years ago
i moved my htaccess to a folder that way disabling it and now i get access to my site again. something in there is not compatible with my wp install or something.
Please share the contents of your .htaccess file. Do you have access to your server logs to see what the error is in there?
Sent from my iPhone
On Jun 13, 2012, at 5:37 PM, ncic reply@reply.github.com wrote:
hi i was trying to install roots theme and i pressed save changes in the activation dialog and now i can't access neither the admin or the site. i get the server error 500. not sure whats happening but maybe it has something to do with my wp being installed in a subfolder. unfortunately I'm not so good with the code stuff, i was trying to learn by installing roots. can someone help me out? site: http://narancicgrafika.com/ncic/ I'm using wordpress 3.4
thanks
Reply to this email directly or view it on GitHub: https://github.com/retlehs/roots/issues/475
thanks for your reply shall i just copy paste my access file here? i tried to reactivate and regenerate a new htaccess file and its now in the narancicgrafika.com/ncic directory again but it looks a bit different from the first one the old htaccess file is in the directory narancicgrafika.com/ncic/htaccess/.htaccess can you look at it there from the browser?
also server error logs, where do i find them, in phpmyadmin? i can go there if thats where they are
here is the new one copy pasted
AddType application/javascript js jsonp AddType application/json json
AddType audio/ogg oga ogg AddType audio/mp4 m4a f4a f4b
AddType video/ogg ogv AddType video/mp4 mp4 m4v f4v f4p AddType video/webm webm AddType video/x-flv flv
AddType image/svg+xml svg svgz AddEncoding gzip svgz
AddType application/vnd.ms-fontobject eot AddType application/x-font-ttf ttf ttc AddType font/opentype otf AddType application/x-font-woff woff
AddType image/x-icon ico AddType image/webp webp AddType text/cache-manifest appcache manifest AddType text/x-component htc AddType application/xml rss atom xml rdf AddType application/x-chrome-extension crx AddType application/x-opera-extension oex AddType application/x-xpinstall xpi AddType application/octet-stream safariextz AddType application/x-web-app-manifest+json webapp AddType text/x-vcard vcf AddType application/x-shockwave-flash swf
#
RewriteBase /foo
instead where 'foo' is your directory.AddDefaultCharset utf-8
AddCharset utf-8 .css .js .xml .json .rss .atom
<FilesMatch "(.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$"> Order allow,deny Deny from all Satisfy All
<FilesMatch "^(wp-config.php|readme.html|license.txt)"> Order allow,deny Deny from all Satisfy All
#
#
wow sorry for the formatting mess
i put the contents of the generated htaccess files in textfiles you can view here
http://www.narancicgrafika.com/ncic/htaccess/htCurrent.txt http://www.narancicgrafika.com/ncic/htaccess/htOldFirst.txt
Can't actually access your files you pasted above "Internal Server Error" when trying to view them..
Do you have a .htaccess file in your root dir ? narancicgrafika.com <-- you may have one there that is conflicting,
I am not a fan (don't have much luck ) running wp from subfolders.. i suggest that you created a addon-domain and use ncic.narancicgrafika.com instead just a thought.
You can't use both rule at the same time to suppress/force "www". Please choose either Option 1 or Option 2.
hey guys thanks for the pointers @expertpixels i moved my site to root and tried to enable the theme but the server error happened again. sorry here are the files again http://www.narancicgrafika.com/ncic/htCurrent.txt http://www.narancicgrafika.com/ncic/htOldFirst.txt
@hariadi thank you but sorry i don't understand i will look in the access files to see if i can connect what you write to something in there
Try my .htaccess file (NOTE* ive edited it to reflect your website / sub-folder install: narancicgrafika.com/ncic/ )
copy and replace your current .htaccess file with my above code i uploaded to pastebin.. again place this here: narancicgrafika.com/ncic/
Keep us updated, good luck.
Regards, Darren
do you have access to your apache error logs?
also, comment out this line in config.php
:
add_theme_support('h5bp-htaccess');
then delete your .htaccess
and try again
closing until this is proven to be an actual bug. if it works without the h5bp access it might be the latest additions to that file, see 0ed246ec558385484e4e92327801a5e61153be33 and try reverting those changes/using a previous version such as https://github.com/retlehs/roots/blob/fc9f001d96b20a9dba507b1c80f824d39d5645b9/inc/h5bp-htaccess
Using Wordpress 3.4 and a copy of the roots theme I cloned yesterday, My .htaccess file is not being created properly. The only thing written to the file is:
So the paths to all the js, css, images, and plugins do not work. None of the boilerplate settings are written to the file.
Here is a line from the error log
[Wed Jan 06 09:42:22 2016] [error] [client (retracted)] PHP Parse error: syntax error, unexpected '[' in /var/www/wordpress/wp-content/themes/sage-8.4.0/functions.php on line 12
Most likely related to #1490
hi i was trying to install roots theme and i pressed save changes in the activation dialog and now i can't access neither the admin or the site. i get the server error 500. not sure whats happening but maybe it has something to do with my wp being installed in a subfolder. unfortunately I'm not so good with the code stuff, i was trying to learn by installing roots. can someone help me out? site: http://narancicgrafika.com/ncic/ I'm using wordpress 3.4
thanks