First off, I wanted to say sorry if this has been asked before. I attempted to utilize the search feature but was unable to find any similar issues...
I installed vbgallery seemingly without a hitch. I added several categories, and then uploaded an image. The image uploaded and appeared to work fine. However, when I attempt to view the category that I uploaded the image to, I receive the following error...
Fatal error: Call to undefined function: vbchop() in /var/www/vhosts/mysite.com/httpdocs/gallery/browseimages.php on line 867
Line 867 in browseimages.php is as follows:
Quote:
|
$images['title'] = vbchop($images['title'], 30); // image title chop
|
An automatic chop on image titles over 30 chars it seems. However, my image title is like 10 chars. So this should not be an issue at all ...
Any ideas? Your help will be greatly appreciated!
---- EDIT ----
Had a problem with replies. But I figured it out .. Still can't get categories to display without the fatal error tho ...
---- EDIT ----
Well, I used my limited php knowledge and fixed the problem. I simply changed line 867 from:
Quote:
|
$images['title'] = vbchop($images['title'], 30); // image title chop
|
to:
Quote:
|
$images['title'] = $images['title'];
|
Does anyone foresee this as being a problem in the future? I mean, at least it works now. After all, what good is not allowing more than 30 chars in an image title if it makes the category views not work?