Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#376 2005-10-02 02:13:19

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

xhtml is the default so you don’t have to call it.

I still get the correct output (yes, that should end like ' />') from exact tag you’ve given (I copied and pasted), in my case I got back:
<p><img src="http://local.dev/txp-stable/images/4t.gif" width="25" height="25" alt="" /></p>

Your posted result source looks funny compared to mine though: I have a very picky and specific order (src, width, height, alt, title, id, class) I use for image tags, which I follow to the letter in the plugin (helps avoid forgetting anything). It shouldn’t be possible at all for your to get your attributes in that order. Very strange…

Offline

#377 2005-10-02 14:39:24

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: upm_img_popper

I’ll try it on a live site on txd server and get back to you… maybe apachefriends has some quirks

Offline

#378 2005-10-08 20:50:28

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

v.0.8.7 is here. It includes a fix for the bug you found, Andreas. In a moment I’ll be posting the fixed upm_file_packets as well.

Offline

#379 2005-10-08 21:08:54

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: upm_img_popper

mary, it works well I re-enabled hpw_admincss and they work together fine now.

However, on one of my sites I get this error, when I try to use the image popper:

Warning: Division by zero in /home/www/ww6199/html/akv2/textpattern/lib/txplib_misc.php(429) : eval()'d code on line 845

It appears in the popup window that should contain the images. The error occured with the previous version and occurs with the current one. Any ideas?

P.S. I know it’s not nice to bug you with a problem just after you’ve squashed another one, but I just came across it again.

Last edited by andreas (2005-10-08 21:10:50)

Offline

#380 2005-10-08 22:55:43

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

Hmm. I found and squashed another bug, but not this one. I’m thinking this might be another plugin conflict thing, since the line number doesn’t make any sense and I can’t seem to replicate it.

What other plugins are you using?

Offline

#381 2005-10-09 08:28:50

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: upm_img_popper

I only have two admin plugins installed: rss_admin_show_adv_opts and hpw_admincss.

Switching both of them off doesn’t solve the problem. Apart from that, I’ve got a lot of other plugins. The complete list is in my colophon . But can a non-admin plugin affect this?:

Last edited by andreas (2005-10-09 08:29:35)

Offline

#382 2005-10-11 13:50:26

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

Re: upm_img_popper

> andreas wrote:

> mary, it works well I re-enabled hpw_admincss and they work together fine now.

However, on one of my sites I get this error, when I try to use the image popper:

Warning: Division by zero in /home/www/ww6199/html/akv2/textpattern/lib/txplib_misc.php(429) : eval()'d code on line 845

It appears in the popup window that should contain the images. The error occured with the previous version and occurs with the current one. Any ideas?

P.S. I know it’s not nice to bug you with a problem just after you’ve squashed another one, but I just came across it again.

I have the same problem, same line:
<code>Warning: Division by zero in /home/httpd/vhosts/wpfgroningen.nl/httpdocs/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 845</code>

if you need any specifics, let me know…

Thanx


“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman

Offline

#383 2005-10-11 13:54:47

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

Re: upm_img_popper

And when I go to the images tab, txp returns:
<code>Warning: Division by zero in /home/httpd/vhosts/wpfgroningen.nl/httpdocs/textpattern/include/txp_image.php on line 62<code>

After switching the upm_img_popper plugin, it works again. I switched upm_img_popper on, and now it seem to work fine…?! Strange.


“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman

Offline

#384 2005-10-11 14:24:01

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: upm_img_popper

HI.

I have found this same bug on my website

In the “Image” tab i see this:
<code>
Warning: Division by zero in /users/home/druzli/domains/dzdesign.dk/public_html/dk/textpattern/include/txp_image.php on line 62
</code>

And I see this in my “Insert image” popup window:
<code>
Warning: Division by zero in /users/home/druzli/domains/dzdesign.dk/public_html/dk/textpattern/lib/txplib_misc.php(455) : eval()’d code on line 845
</code>

The strange thing is, I have 2 websites, both hosted at TXD. Both where broken like this but changeing to the newest version of the plugin fixed 1 of them but not the other :)

I,m running rev1021.


regards,

Agust

Offline

#385 2005-10-11 14:26:15

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

Re: upm_img_popper

Maybe you should try the same as I did, switch the plugin off, go to the images tab, switch the plugin on again, go to the images tab again…


“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman

Offline

#386 2005-10-11 14:32:18

TimTops
Member
Registered: 2005-07-21
Posts: 19

Re: upm_img_popper

Also, try changing the value of x in the “View ‘x’ per page” select box on content>images. I seem to remember this helps although as I’m not currently experiencing the problem I can’t test it.

Offline

#387 2005-10-11 14:38:41

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: upm_img_popper

TimTops:

That did it!

Thanks :)


regards,

Agust

Offline

#388 2005-10-11 14:40:15

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

Re: upm_img_popper

> TimTops wrote:

> Also, try changing the value of x in the “View ‘x’ per page” select box on content>images. I seem to remember this helps although as I’m not currently experiencing the problem I can’t test it.

I did that as well, I guess that’s the solution ;-)


“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman

Offline

#389 2005-10-11 15:24:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,367
Website GitHub Mastodon Twitter

Re: upm_img_popper

hi Mary. Hate to be bothering you with problems but I thought you might want to know that the plugin (v0.8.8) breaks on sv1018 (at least in my site)
I would not expect you to fix it for subversions but maybe there is a change in txp which will appear in the next release.
All seems to be there except the “Insert Image” in the write page:(

Last edited by colak (2005-10-11 15:26:35)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#390 2005-10-13 19:08:17

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

Re: upm_img_popper

Mary,

a minor glitch is hidden in the js popup’s html markup:

<code>
153: upm_pop_win.document.writeln(‘<html>’);
154: upm_pop_win.document.writeln(‘<html>’);
</code>

Thanks a lot for your valuable contributions to the community!

//w&

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB