.htaccess file works but now denies me access to edit site

Permalink
Made an .htaccess file with the code from the dashboard and it worked perfectly. Except, I can't edit anything on my site now. I get an "access denied" message.

Is this a chmod thing? It's 644 right now.

Thanks for any help anyone can lend.

jfuqua
 
Pritam replied on at Permalink Reply
Had you set the permissions correctly when you installed or moved your site to the server.

The permissions are to be as follows

777 for \config

777 for \files (Recursive to all files and sub-directories)

777 for \packages
jfuqua replied on at Permalink Reply
jfuqua
Yes. All are set with those numbers.

I get this error code: Fatal error: Call to undefined function curl_init() in /home/fuqua9/public_html/concrete5/concrete/elements/files/edit/image.php on line 42

Thanks for your reply.
Pritam replied on at Permalink Reply
Is there are link to look at ?
Pritam replied on at Permalink Reply
Is there are link to look at ?
jfuqua replied on at Permalink Reply
jfuqua
Yes. My site ishttp://www.fuquadesign.com/concrete5/...

I seem to have two .htaccess files. One is on the level with the concrete folder. The other inside that folder.

With the smart url code, I can now edit blocks though get the error I mention earlier when editing an image.
Pritam replied on at Permalink Reply
I would suggest to create a php file named test.php with the below code and upload it to your site root

<?php
phpinfo();
?>


This way we could tell if php_curl extension is enabled or not
Pritam replied on at Permalink Reply
You have to just have 1 .htaccess file in your site root which in the case of the link you sent me should be herehttp://www.fuquadesign.com/concrete5/...
jfuqua replied on at Permalink Reply
jfuqua
I now have a file set up:

http://www.fuquadesign.com/test.php...

I removed the .htaccess file which is on the level of public_html and left the one inside the concrete 5 folder. I can edit blocks but still get an error when trying to edit an image.

This may not have anything to do with the .htaccess file.

Thanks for your help.
Pritam replied on at Permalink Best Answer Reply
I had a look at the test.php file and it seems like cURL support is not enabled, you gotta ask your web host company to enable it .
jfuqua replied on at Permalink Reply
jfuqua
What is cURL? Does that address the above error?

I have WHM access so would probably need to do another Apache build.

Is the cURL the CurlSSL? I see a number of Curl selections.
Pritam replied on at Permalink Reply
You need to have root access to your server since you need to enable it in the php.ini file of your server.
jfuqua replied on at Permalink Reply
jfuqua
I have WHM access and can run Easy Apache. I'm not experienced at such things but thought I could add it through there. No?
Pritam replied on at Permalink Reply
I am not aware of doing this through WHM .
jfuqua replied on at Permalink Reply
jfuqua
Thanks for you help.
Pritam replied on at Permalink Reply
Thats some great design you did !!
jfuqua replied on at Permalink Reply
jfuqua
Thanks. Despite a few setbacks, I've been very pleased with C5 and think I'll learn more as I continue to work with it.