Post by motopike » Wed Jul 22, 2009 4:08 am

Hi,

Im trying to use FCKeditor to import an image into my home page dynamic area and when Itry to access my server to select the image I get the error

Error creating folder "/home2/motopike/public_html/image/userfiles/image/" (mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied).

I have checked file permissions and set all the directories and sub directories to 777 permission and still get the same error.
----------------------------------------------------------------------------------------
I also have the following errors at the bottom of the contact us page around where the security code should be (but isnt)..

Notice: Undefined variable: entry_verification in /home2/motopike/public_html/opencart/catalog/view/theme/default_am-dark2/template/information/contact.tpl on line 42

Notice: Undefined variable: error_verification in /home2/motopike/public_html/opencart/catalog/view/theme/default_am-dark2/template/information/contact.tpl on line 45.

I am using the default-am-dark2 template off the template contribution section.
-------------------------------------------------------------------------------------------------------------------
I have also noticed that my currencies dont work although all my setting and Ex rate input values are enabled. Euros, USD and UKP is listed but only my default UKP option works on the home page. If any others are selected on the homepage, there is a small pause and it reverts back to UKP.

Any ideas/clues what to check??

Thanks in advance

Newbie

Posts

Joined
Sun Jul 05, 2009 4:05 am

Post by Daniel » Wed Jul 22, 2009 4:18 am

the fckeitor is not working because the image directory is not available. possible if you uploaded via dreamweaver it does not upload empty folders.

the entry_verification error is because you are using a template has not been updated.

entry_verification was change to entry_capcha.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by motopike » Wed Jul 22, 2009 4:35 am

Daniel,

Thanks for the quick reply.
Is there a simple fix for any of these problems? Justa case of renaming the dir's and/or adding them?

Ive not touched Dreamweaver and the code was downloaded off the opencart download area so Im not sure how the FCKeditor has got messed up?

Newbie

Posts

Joined
Sun Jul 05, 2009 4:05 am

Post by motopike » Wed Jul 22, 2009 5:06 am

I have sorted out the contact us form errors by copying the contact.tpl files from the default theme as there are obviously bugs in the contributed theme.
Is there a similar thing I can do to get the currency to work. I have checked if the currency changes with the default theme and it all works ok. As soon as I switch back to the dark theme it stops working. Almost like its writing a cookie that then stops it updating.

I have checked the fckeditor userfiles images directory and it does exist, so Im not sure whats wrong here.

Newbie

Posts

Joined
Sun Jul 05, 2009 4:05 am

Post by motopike » Wed Jul 22, 2009 5:42 am

I have sorted the currency form errors by copying currency.tpl from the default template and all is well with that now. ;)

Just the FCKeditor to srt out now. I think this is a server issue, so have contacted my hosting.

Newbie

Posts

Joined
Sun Jul 05, 2009 4:05 am

Post by motopike » Thu Jul 23, 2009 12:19 am

I have forwarded on the FCKeditor problem onto the very helpful guys at hostingbegins who I use for my hosting and they have investigated the FCKeditor bug (The support guy there also uses opencart).
He said the folloowing about the failure of my FCKeditor:

_______________________________________________________________________

this seems to be a bug in opencart. The problem file is:

/opencart/admin/view/javascript/fckeditor/editor/filemanager/connectors/php/config.php.

the problem is this line

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/image/userfiles/' ;

It should really get the path from the config but it doesn't

changing to

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/opencart/image/userfiles/' ;

corrects your problem but this would need to be edited if the folder name changed

_________________________________________________________________________

Daniel,
Any ideas if there is a fix for this?
At the moment I can only input text into my homepage dynamic area.
I currently run my site from an opencart subdirectory of my site and use a www redirect.


Thanks in advance.
Adam

Newbie

Posts

Joined
Sun Jul 05, 2009 4:05 am

Post by sonix » Sun Sep 13, 2009 10:35 pm

I corrected the problem regarding permission denied by modifying the config

however when i tested it uploading a image, it said it was successful but there isn't any image uploaded.. Strange

Any idea?

Newbie

Posts

Joined
Tue Jul 28, 2009 10:27 am
Who is online

Users browsing this forum: No registered users and 15 guests