Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Template error: Failed to find block 'output_buffer'...  (Read 8915 times)

0 Members and 1 Guest are viewing this topic.

RaChEl_R86

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Template error: Failed to find block 'output_buffer'...
« on: October 27, 2014, 06:46:41 pm »

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 :)
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Template error: Failed to find block 'output_buffer'...
« Reply #1 on: October 28, 2014, 12:38:31 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #2 on: October 28, 2014, 01:20:35 am »

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? :)
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Template error: Failed to find block 'output_buffer'...
« Reply #3 on: October 28, 2014, 01:45:56 am »

  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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #4 on: October 28, 2014, 02:02:22 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Template error: Failed to find block 'output_buffer'...
« Reply #5 on: October 28, 2014, 02:43:27 pm »

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

RaChEl_R86

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #6 on: October 28, 2014, 02:50:08 pm »

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

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Re: Template error: Failed to find block 'output_buffer'...
« Reply #7 on: October 29, 2014, 12:10:03 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #8 on: October 29, 2014, 01:26:06 am »

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  :'(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Template error: Failed to find block 'output_buffer'...
« Reply #9 on: October 29, 2014, 09:48:55 am »

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
Code: [Select]
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.
Logged

RaChEl_R86

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #10 on: October 29, 2014, 11:23:02 am »

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged

RaChEl_R86

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #12 on: October 29, 2014, 06:05:18 pm »

This last problem is easily solved by resizing the photos.

Thank you all for the help and patience :)
Logged

RaChEl_R86

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Template error: Failed to find block 'output_buffer'...
« Reply #13 on: October 29, 2014, 06:13:08 pm »

I want to mark this topic as solved but the button isn't appearing to me, sorry guys  :-[
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.