Loading...
 
Skip to main content

Architecture / Installation


Re: Need help with permissions with Images and WYSIWYG

Ok, I found a hack for my problem and I am now able to upload images.

In the file /var/www/tikiwiki/tikiwiki-1.10beta/lib/fckeditor/editor/filemanager/connectors/php
is a file called config.php. Near the beginning of this file is a line that reads

$tikiroot = dirnamedirname(dirname(dirname(dirname(dirname(FILE)))));
which I changed to
$tikiroot = dirname(dirnamedirname(dirname(dirname(dirname(dirname(FILE))))));

and then I had to change the line that reads
$Config'UserFilesPath' = $tikipath.'img/wiki_up/'.$tikidomain ;
to
$Config'UserFilesPath' = $tikipath.'tikiwiki-1.10beta/img/wiki_up/'.$tikidomain ;


In my installation I was nested one folder deeper then a regular installation so I had to hack a workaround to go deeper into the nesting. I know this is a hack and just a workaround, but it will work for me for now. Hope this helps somebody else in the future.