Help Center Live Community
July 23, 2014, 04:56:37 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]   Go Down
Author Topic: Generate Code - Error  (Read 3896 times)
Not too much to say...
Offline Offline

Posts: 4


« on: February 10, 2009, 05:52:46 PM »

This recently started happening and I am totally perplexed.  When I try to GENERATE image code, I get this warning:


You don't have permission to access /hcl/admin/code. php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

I've tried changing permissions on "/hcl/admin/code. php" and nothing happens.

Any thoughts?
Ryan L.
Not too much to say...
Offline Offline

Posts: 15

The bird is the word!

« Reply #1 on: February 10, 2009, 10:34:58 PM »

Hello JJ,

I think your problem resides not with permissions as much as it does with the following:

"Additionally, a 404 Not Found error was encountered"

Clearly the file has no ownership permissions if it does not exist. Sometimes, webhosts will mark an invalid URL as "Forbidden" so I would suggest checking your URL filepath.

This is just what I have observed through day-to-day usage. It really does seem like it is a permissions problem, but you said you already tried that Cheesy   So this is my best guess without actually being at the computer.

Hope this helps you out,

Joe Beauchamp
Not too much to say...
Offline Offline

Posts: 11

« Reply #2 on: February 12, 2009, 12:06:37 AM »

This has never worked for me - I just got back on this forum and found that someone replied to my posting the same issue.   It makes no sense to me but it works.   He said something about "image" being a problem.   So, go to /hcl/admin and edit code. php.   Where you see it say "image", change it to something else.   I think I changed 2 places - the important one at the end of code. php?image and a reference to a field, I think.

Make those changes and it will work.   I simply changed mine to imagex. . . .

-- Joe B.
Not too much to say...
Offline Offline

Posts: 1

« Reply #3 on: February 22, 2009, 01:47:58 AM »

The imagex thing worked for me.    One simple thing.    In line 56 of admin/code.  php, I changed from

$GLOBALS['template']->assign('action', 'image');


$GLOBALS['template']->assign('action', 'imagex');

Hope this helps.
Pages: [1]   Go Up
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.156 seconds with 19 queries.

Google visited last this page July 02, 2014, 05:57:53 AM