Keyword

Another undefined variable

  • carlos1014
  • carlos1014's Avatar Topic Author
  • Offline
  • New Member
More
15 years 11 months ago #22517 by carlos1014
Another undefined variable was created by carlos1014
Hello,

I have installed the plugin, placed a folder called trip_to_ca_1 inside /images/stories/, and I have placed some pictures in there.

At first I was getting a blank page. I wondered if there might be a php problem, so I turned the display_errors directive in my php.ini on. I am getting the following error:
Notice: Undefined variable: html in /var/www/html/joomla/plugins/content/jwsig.php on line 131

When I examined the code, I found the line where $html is being set.
if($noimage) {
         $html = '<!-- JW "Simple Image Gallery"
         ...

Before this, $noimage is set to 0, then incremented inside a while loop. If I change the line to
if(!$noimage) {...
the error goes away, but I get no thumbnails. I have GD enabled... the only thing I can think of is...

What are the limits on the picture sizes?

Please Log in or Create an account to join the conversation.

  • carlos1014
  • carlos1014's Avatar Topic Author
  • Offline
  • New Member
More
15 years 11 months ago #22518 by carlos1014
Replied by carlos1014 on topic Re: Another undefined variable
YEAAHHH!!! I is kinda stooooopid!!! I never bothered to check to see if the images were actually in the folder... sorry.... it was 4AM when I posted...

That's what you get for trying to work on something when you should be in bed!

:-[ ;D

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum