Help Center Live Community
April 16, 2014, 08:11:28 PM *
Welcome, Guest. Please login or register.

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

Posts: 4


lauramba


WWW
« 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:

"Forbidden

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?
Logged
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,

Ryan
Logged
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.
Logged
webasdf
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

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

to

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

Hope this helps.
Cheers.
Logged
Pages: [1]   Go Up
  Print  
 
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.147 seconds with 20 queries.

Google visited last this page March 19, 2014, 02:00:07 PM