Recent Posts

Pages: [1] 2 3 4 5 ... 10
1
Installation, Update & Configuration / 4images & Synology NAS
« Last post by audisnapr on January 08, 2020, 01:56:14 AM »
I already posted over in the Error forum but there doesn't seem to be much input.

I'm having trouble migrating my 4images gallery over to a Synology NAS system.  I've successfully migrated two different WordPress sites over but cannot figure out how to get the 4images gallery over.  I've tried, unsuccessfully, to do a new install as well - check out my error message thread here: https://www.4homepages.de/forum/index.php?topic=33076.0

I'm getting:

An unexpected error occured. Please try again later.
Could not connect to the database server (localhost, gallery).

I've confirmed my database information is correct.  I'm using PHP 7.0 and Apache 2.2

Based on this thread: https://www.4homepages.de/forum/index.php?topic=24690.0, I've updated the correct folders to 777 and 666

Is there a known compatibility issue with Synology?

I'm sure it's something simple that I am missing.  It seems odd that I can't install a fresh copy either.

Any input would be much appreciated.
2
bump?
3
Hallo zusammen,

ich habe hier knapp 30.000 Bilder die mit IPTC Daten versehen sind.
Gibts in 4images die Möglichkeit, automatisch anhand der IPTC Daten zu kategorisieren?

Möchte ungern alle einzelnen Kategorien anlegen.


Grüße
Marcus
4
Long-time user of 4Images.  Recently I set up my own local NAS and have successfully migrated over two of my WordPress sites, however, I am struggling to migrate over my 4Images site.  While trying to troubleshoot the migration, I also tried to install a fresh copy of of 4Images, also to no avail.  I'm obviously missing something.  This is the error I'm getting on the new install.  The install.php comes up, I fill in the information and I get this (password protected of course):

Fatal error: Uncaught Error: Call to undefined function safe_htmlspecialchars() in /volume1/web/4images/includes/db_mysqli.php:38 Stack trace: #0 /volume1/web/4images/install.php(234): Db->__construct('localhost', '4images', '***********', '4images') #1 {main} thrown in /volume1/web/4images/includes/db_mysqli.php on line 38
5
Mods & Plugins (Requests & Discussions) / Load more images insted of clicking next page
« Last post by crashed on December 01, 2019, 06:05:47 PM »
Hi there everyone, is there a mod for Load more images insted of clicking next page?
6
Programming / Has anyone migrated their gallery to Wordpress?
« Last post by praveen on November 01, 2019, 01:35:45 PM »
I have a 10 year old site built using 4images gallery script (4homepages.de). I am trying to find out if the site and its content can be migrated to Wordpress. I already have a blog section for news which is on Wordpress. I want the gallery part of it to be merged with Wordpress. At the moment, there are close to 500,000 images on the gallery.
7
Discussion & Troubleshooting / Re: Google Canonical
« Last post by Geezer on October 18, 2019, 07:14:50 AM »
it doesn't really work! Why? Is the code too old?

Here is how its done :).

open index.php file and find

Code: [Select]
include(ROOT_PATH.'includes/page_header.php');
Paste the following just before the above line.

Code: [Select]
if(isset($_GET['page'])) {
        $site_template->register_vars("google_con_url", '<link rel="canonical" href="' . ROOT_PATH . '/' . $_SERVER['REQUEST_URI'] . '" />');
}
else {
        $site_template->register_vars("google_con_url", '');
}


and insert

Code: [Select]
{google_con_url} in header of your template. Make sure its between <head> tags.
8
Discussion & Troubleshooting / Check new images goes back to login screen
« Last post by praveen on October 10, 2019, 05:56:56 AM »
Hi,
Suddenly since yday, when i click on Check New Images, it keeps going to the admin login page.

Error log has the following entries

[10-Oct-2019 05:49:10 CET] PHP Warning:  session_name(): Cannot change session name when headers already sent in /home/siteaa/public_html/includes/sessions.php on line 92
[10-Oct-2019 05:49:10 CET] PHP Warning:  Use of undefined constant SID - assumed 'SID' (this will throw an Error in a future version of PHP) in /home/siteaa/public_html/includes/sessions.php on line 112
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 177
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 178
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 179
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 180
[10-Oct-2019 05:49:10 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 181
[10-Oct-2019 05:49:10 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:49:10 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:49:10 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:50:54 CET] PHP Warning:  session_name(): Cannot change session name when headers already sent in /home/siteaa/public_html/includes/sessions.php on line 92
[10-Oct-2019 05:50:54 CET] PHP Warning:  Use of undefined constant SID - assumed 'SID' (this will throw an Error in a future version of PHP) in /home/siteaa/public_html/includes/sessions.php on line 112
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 177
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 178
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 179
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 180
[10-Oct-2019 05:50:54 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 181
[10-Oct-2019 05:50:54 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:50:54 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:50:54 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:54:27 CET] PHP Warning:  session_name(): Cannot change session name when headers already sent in /home/siteaa/public_html/includes/sessions.php on line 92
[10-Oct-2019 05:54:27 CET] PHP Warning:  Use of undefined constant SID - assumed 'SID' (this will throw an Error in a future version of PHP) in /home/siteaa/public_html/includes/sessions.php on line 112
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/includes/sessions.php on line 101
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 177
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 178
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 179
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 180
[10-Oct-2019 05:54:27 CET] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/siteaa/public_html/admin/checkimages.php:1) in /home/siteaa/public_html/admin/admin_functions.php on line 181
[10-Oct-2019 05:54:27 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:54:27 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
[10-Oct-2019 05:54:27 CET] PHP Warning:  strstr(): Empty needle in /home/siteaa/public_html/includes/sessions.php on line 550
9
Mods & Plugins (Releases & Support) / Re: [MOD]More Pictures on Detail Page
« Last post by Sumale.my on October 02, 2019, 09:48:58 AM »
Plugin image_group.php
search:
$root_path = (!eregi("\/plugins\/"$_SERVER['PHP_SELF'])) ? "./../" "./../../";
replace with
$root_path = (!preg_match("/plugins/i"$_SERVER['PHP_SELF'])) ? "./../" "./../../";

php 7.2 ready
10
Feedback & Suggestions / Re: 4images UP2DATE / Forum
« Last post by Jan-Lukas on September 29, 2019, 08:57:10 PM »
Stups...
Pages: [1] 2 3 4 5 ... 10