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 - Murat

Pages: [1]
Hello. I am using 4images 1.10. PHP 8.1 is installed on my website (ubuntu 22.04.4) All php plugins are active.

The rss on the photos at ./rss.php?action=comments&image_id=1 is working. However, if there is a comment on the photo, the page RSS does not work. It gives the following error.

Code: [Select]
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /../public/4imag/rss.php:309 \nStack trace:\n#0 {main}\n thrown in /../public/4imag/rss.php on line 309'
I did a clean install. The result did not change. The RSS feed of a commented page works in PHP 7.4, but it does not work in PHP 8.1, but it works if the photo is not commented on.

The 309th line of rss.php where the error occurs is as follows:

Code: [Select]
if (@count($item['enclosure']) > 0) {
We would appreciate it if you make it compatible with PHP 8.1. I wish you good work.

By the way, off topic; I became a 20th anniversary user after 1 month :) (2004-2024, I met you when you were 23 years old. I turned 43 years old.);u=7752

Discussion & Troubleshooting / a question
« on: September 08, 2008, 12:36:45 AM »
hello. function utf8_to_htmlentities, function uni_to_utf8, function clean_string, function clean_array what is this functions?

Discussion & Troubleshooting / utf-8 how to?
« on: September 03, 2008, 01:57:21 AM »
Hello all.
1. i all files php and templates files convert encoding to utf-8.(with pspad)
2. added new lines to db_mysql.php:

this line above return $this->connection;
to this code:
    mysql_query("SET NAMES 'utf8'");
    mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");

and this line after function query($query = "") {
 mysql_query("SET NAMES 'utf8'");
    mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");

3. meta charset iso-8859.... to utf-8 in language charset.
4. added this line to page_header.php
header ("Content-type: text/html; charset=UTF-8");
5. all db table convert to utf-8 collation utf8_turkish_ci

Ok no problem. all site text displaying true.. new data added ok displaying true encoding.
But how to i can make extra fix or code?

i checked my site from
character displaying wrong. example:
Foto─čraf - 1176

but other website (original utf8) no problem.
sorry my english not enought. :( if you reply me messages i will be happy. thanks.

Discussion & Troubleshooting / Page number?
« on: January 27, 2008, 02:32:57 PM »
How to displaying page number on the categories page?

e.g.: categories name - page 2
e.g.: categories name - page 3
e.g.: categories name - page 4

Installation, Update & Configuration / 4images 1.7.4 with php5
« on: July 20, 2007, 03:45:03 PM »
hello all.
New installation.
I using:
4images 1.7.4
php 5.2.3
mysql 5.0.45

gallery working. 
after upload a picture. Ok working upload.
but "Keywords:" area >>> empty

NOTE: Please display attach file..


Installation, Update & Configuration / 302 status code
« on: September 09, 2006, 05:44:07 PM »
hello all.

I have big problem. my problem is this system is showing doesnt lacking pages.

for example: there is no addresses like
http://www.mydomain .com/categories.php?cat_id=866
http://www.mydomain .com/details.php?image_id=7111
but it is showing . redirect to main page (with 302 status code).

file not 302, it must be 404 status code.

this is spam I think.   8O

please help me    :?


I'm using 1.7.3. require areas for picture upload form eg: image descripition> this area require

how can I make required image descripition, image name, keywords>" photo upload form area."

hello I'm using 
"4images 1.7.3", "Search Engine Friendly URLs aka Short URLs mod" and phpbb integration mod.

my rss page link example:

convert to .htm or file eg /images/ ?

and problem user mail address. how remove or add userpagelink?

Installation, Update & Configuration / charset problem in 1.7.2
« on: March 04, 2006, 11:11:07 AM »
hello all.
I updated my gallery 1.7.1 up 1.7.2. after update charset problem  pls help me.
my page charset is iso-8859-9 >turkish

Mods & Plugins (Requests & Discussions) / Deter comment spam
« on: January 20, 2006, 11:56:01 AM »
add comment spammers  adding rel="nofollow" tag  ??? . e.g details.php, image desc., comment. without mywebsite.

similar mod

Mods & Plugins (Requests & Discussions) / phpbb 2.0.18 and 4images 1.7.1
« on: November 01, 2005, 06:06:46 PM »
hello all.
İ integrated phpbb+4images. phpbb team 31 oct 2005 phpbb 2.0.18 released. session.php changed.

I'm logout my gallery link . : Invalid_session

pls help.

Pages: [1]