Template error: Failed to find block 'output_buffer'... Template error: Failed to find block 'output_buffer'...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Template error: Failed to find block 'output_buffer'...

Started by RaChEl_R86, October 27, 2014, 06:46:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RaChEl_R86

http://joshgroban.sosugary.com/
Whenever I try to upload some photos using the batch add process, for some photos I'm getting the radar and a huge error. Tried searching here before opening this topic but nothing solved my problem. Attached a cap and the theme so maybe someone can help me :)

Joe Carver

That block is used when Coppermine is trying to show an error message.
Yes, the theme is in need of updating to CPG 1.5, but the problem might not
be theme related.

To confirm it is theme related, use: http://joshgroban.sosugary.com/index.php?theme=curve

If uploading works, then check the docs here for detailed instructions on updating your theme.
(a quick look at the home page source showed it needs updating anyway)
Converting cpg1.4.x themes to cpg1.5.x

If uploading does not function with the Curve theme, follow the instructions here:
Upload troubleshooting

Each step is required to accurately troubleshoot uploading problems.


RaChEl_R86

well, the theme may be outdated, let's say this way.. but maybe isn't the only thing that is causing the problem, I think... because upload was successful when I did it by using the Default upload mechanism - "Simple - one file at a time".

after this, I've done what was suggested, hope I didn't missed something, but batch-add still doesn't work. what's the next step? :)

Joe Carver

  Asking for support on upload issues

(for all current and future readers)
Please also note that the documentation was included in the Coppermine package and can be accessed on a local computer.

RaChEl_R86

Here's the test user account info:
    Username: tester
    Password: tester

I've tried to upload with this new account and I'm getting this error:

Template error
Failed to find block 'output_buffer' (#<!-- BEGIN output_buffer -->(.*?)<!-- END output_buffer -->#s) in :
                    <div class="{CSS_CLASS}">
                        <h2>{HEADER_TXT}</h2>
                        <span class="cpg_user_message">{MESSAGE}</span>
<!-- BEGIN file_line -->
                        <br />
                        <br />
                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->

                        <br /><br />
                    </div>

Αndré

I successfully uploaded a picture to your gallery: http://joshgroban.sosugary.com/displayimage.php?pid=11110

Please post some more details how to reproduce the issue.


Off-topic: you should update the URL to your gallery folder in the config, as it's currently set to "http://www.joshgrobanfan.com/gallery/", which returns an error page.

RaChEl_R86

url updated, thanks for pointing me this :)

I'm only getting the radar and the following error, when I upload by batch-add.
attached a screencap but it's the same as I posted here on my last post.

Joe Carver

Quote from: Αndré on October 28, 2014, 02:43:27 PM
Please post some more details how to reproduce the issue.

How many / large are the files? Have you tried less/fewer/smaller?
Are the folders set to 777 permission levels? Any attempts/trouble with the flash uploader?
Have you tried it with any of the other default themes? (the failed error message isn't helping)
Has your host made any recent changes, such as reducing limits?


RaChEl_R86

I've tried all that (less,smaller, etc etc) but sometimes works, sometimes don't  :-\
here's a link to one of the photos I'm trying to upload:
http://i57.tinypic.com/2rp7gjk.jpg

folders are all with 777 permission levels and previously I've tried with all default themes to check if it was or not a theme problem.
they told me nothing has been changed on their servers.

should I send my pm an admin login to test the batch-adding by ftp and to take a better look at this? :) because with the default upload way... I can upload this same photo without any problem  :'(

Αndré

It's maybe the same/similar issue as in this topic: http://forum.coppermine-gallery.net/index.php/topic,76169.msg367977.html#msg367977

Commenting out the line
template_extract_block($template_cpg_die, 'output_buffer');
should remove the error message, or at least change it to something different. I haven't checked for any other unexpected behavior.

RaChEl_R86

That error disappeared, but now I'm getting this one. kindly check cap attached :)


RaChEl_R86

This last problem is easily solved by resizing the photos.

Thank you all for the help and patience :)

RaChEl_R86

I want to mark this topic as solved but the button isn't appearing to me, sorry guys  :-[