Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Ebby

Pages: [1]
1
I'm trying to install a fresh copy of 1.8 on Ubuntu 16.10.

Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g
PHP Version 7.0.8-3ubuntu3
MySQL Version 5.7.16

Install Error:
PHP Fatal error: Uncaught Error: Call to undefined function safe_htmlspecialchars() in /var/www/html/4images/includes/db_myssqli.php:73
Stack trace:
#0 /var/www/html/4images/install.php(253): Db->query('CREATE TABLE ca...')
#1 {main} thrown in /var/html/4images/includes/db_mysqli.php on line 73

Stating the obvious, the safe_htmlspecialchars() function that is defined in functions.php and included by global.php is not working in the mysqli class Db.  I have no idea why it doesn't think it's defined.  PHP 7 thing with a class?

2
Feedback & Suggestions / Bug, and feature request.
« on: August 25, 2002, 06:11:24 AM »
#vi /4images/lang/english/admin.php

Code: [Select]
$lang['field_votes_lower'] = "Vating lower than";
should be: $lang['field_votes_lower'] = "Votes lower than";



I added field_image_id so that I could sort by image id on the Edit images link.

#vi /4images/admin/images.php

Code: [Select]
 <select name="orderby">
  <option value="i.image_id"><?php echo $lang['field_image_id'?></option>
  <option value="i.image_name" selected><?php echo $lang['field_image_name'?></option>



#vi /4images/lang/english/admin.php

Code: [Select]
//-----------------------------------------------------
//--- Fields ------------------------------------------
//-----------------------------------------------------
$lang['field_image_id'] = "Image ID";
$lang['field_image_name'] = "Image name";


I was wondering if it would be possible to add a delete function to the categories.php where it shows the thumbnails?  I found it a pain to view the picture and then delete and confirm the delete.  Editing/deleting from the categories.php may be useful.

Thanks,
Jason

Pages: [1]
Post your comments here