If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
access .htacess  XML
Forum Index » Support Forum
Author Message
micpad
Beginner

Joined: 11/05/2007 23:16:38
Messages: 5
Offline

I am having problems editing this file. I open it in notepad and all that it says is Access is denied. What am I doing wrong?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Why are you trying to edit it ?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
micpad
Beginner

Joined: 11/05/2007 23:16:38
Messages: 5
Offline

Based on the forum topic http://proxy2.de/forum/viewtopic.php?t=4736

In this list you have to edit it to add the polls to html, therefore I was editing the file. If the words Access denied is normal then can someon please let me know that. Otherwise, what do I do. Plus there is more than one .htaccess file one in the following directories: include folder and then one under the admin/templates


ideas?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Try a dedicated text editor such as http://pspad.com

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
micpad
Beginner

Joined: 11/05/2007 23:16:38
Messages: 5
Offline

Thanks for the help on the editor it works like a charm. I created a .htaccess file and loaded it onto my host computer (godaddy.com) in my web root directory. The only line in the file is

AddType application/x-httpd-php .php .html

I still get the poll_process() error. any suggestions?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Can you be more specific about the error.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
micpad
Beginner

Joined: 11/05/2007 23:16:38
Messages: 5
Offline

The error is

post stuff here poll_process(4); ?>

If I change the extension to php it works. It is not processing the html to php.
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

The web server will ONLY send files WITH A .PHP FILE EXTENSION to the PHP parser.
Files with .HTML are considered NOT TO CONTAIN ANY PHP code.

.htaccess can change this. But it is wasteful of resources -
sending all files to the PHP parser even if they don't need parsing.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
micpad
Beginner

Joined: 11/05/2007 23:16:38
Messages: 5
Offline

As you can see from the thread, I did change the .htaccess file but I still get the error and I was asked to give the exact error. So what should I do now?
I appreciate the help.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum