Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
Hello there! In my xampp environment I simply can't get the upload-functionality to work. I get 'unknown error' when trying to upload an image. In addition, when I try to set define( 'K_UPLOAD_DIR', 'img' ), it does not work either. All my images are placed in img folder, but none is shown. Couch is located in http/couch and my img-folder is located in http/img, thus the above define-statement should be ok.

As far as I can see everything is set up correctly in the file:
Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Startseite'>
    <cms:repeatable name='feature_item' >       
        <cms:editable type='image' name='image' label='Bild' />
    </cms:repeatable>
</cms:template>

And later in the file, I call:

Code: Select all
                    <cms:show_repeatable 'feature_item' >
                        <div>
                            <div class="feature-block">
                                <a href="" target="_blank">
                                    <img src="<cms:show image />" />
                                    <div class="feature-name text-uppercase"></div>
                                </a>
                            </div>                     
                            <p class="feature-text">
                               
                            </p>
                        </div>
                    </cms:show_repeatable>


Any idea how to solve these two problems? I couldn't see any other thread with these problems already solved...

all the best,
django

Hi,

Seems to be a permission problem to me.
Please try setting 777 permissions on the 'img' folder (recursively to all its subfolders too).

Hope it helps.

Hi KK,

as mentioned in a different post yesterday, the folder already has all permissions. I tried it on two different windows 7 machines within xampp, and even on a real server. But unfortunately it didn't work in neither case.
I now want to switch to couch v2.0. But does repeatable regions work the old way in v2.0? I just tried to make one but without luck. So, as I need repeatable regions, I'd like to know if they are supported in the current v2.0 or if I have to take the official release 1.4.7.

Repeatable regions work exactly the same way in v2.0 as in previous versions.

As for the folders issue, since you say you experienced the same problem even on a hosted server - could you get me access to that online installation? PM me the FTP+Couch access if that is ok with you.

Thanks for your offer KK. Actually, I don't have access to create a further ftp-account on the server involved. So I decided setting up a different server where I have access to and CAN create an account. But on this server I can upload images without problems. Setting the define-statement for a custom folder worked, too. So now I'm thrown back... and it seems that you are right and it is indeed a permission problem, though I set the permissions of the couch folder and subdolders, as well as all the files to 777 on the first server. Now I don't know why it's working on the one server and why not on another. If I could I'd really like to give you access to the first server that's not working, but I don't have permissions...

all the best,
django
Just for your feedback: I solved all my trouble mith couch v2.0. I still don't know what the problem was. But as it works with v2, everything is fine. By the way, v2.0 is awesome. I love it. Thumbs up for your great work mate :) When will v2.0 leave beta state and be officially released?

all the best,
Django
6 posts Page 1 of 1