eboder
Forum Replies Created
-
I am using Version 2.1.0 – that’s the newest version I can get I think …
Line 656 in that file is:
*/
This is the last line in the section:
public function delete_directory($abspath)
{
$retval = FALSE;
if (@file_exists($abspath)) {
$files = scandir($abspath);
array_shift($files);
array_shift($files);
foreach ($files as $file) {
$file_abspath = implode(DIRECTORY_SEPARATOR, array(rtrim($abspath, ‘/\\’), $file));
if (is_dir($file_abspath)) {
$this->object->delete_directory($file_abspath);
} else {
unlink($file_abspath);
}
}
rmdir($abspath);
$retval = @file_exists($abspath);
}
return $retval;
}
/**
* Backs up an image file
*
* @param int|object $image
*/I found an older log that has a lot of lines like this: [18-May-2015 21:13:04 UTC] PHP Warning: getimagesize(1) [function.getimagesize]: failed to open stream: No such file or directory in /home/techies/public_html/swissperience.ch/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php on line 656
Sorry, I just don’t see any logs. Isn’t there a default location where logs should be stored for WP and/or for this plugin? Does this plugin have logs of it’s own?
I have full access to the cpanel for my hosting and there is a file manager. Are you referring to WP logs, plugin logs or domain logs?
Not sure which error logs files I should be checking and where they are etc …
Operating System : Linux (64 Bit)
Server : Apache
Memory usage : 46.44 MByte
MYSQL Version : 5.5.42-cll
SQL Mode : Not set
PHP Version : 5.3.29
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 128
PHP Max Upload Size : 50M
PHP Max Post Size : 50M
PCRE Backtracking Limit : 1000000
PHP Max Script Execute Time : 60s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : Yes
Graphic LibraryGD Version : bundled (2.1.0 compatible)
FreeType Support : Yes
FreeType Linkage : with freetype
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPEG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : Yes
XBM Support : Yes
JIS-mapped Japanese Font Support : No