Global Images

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Global Images

Beitrag von Blisk »

I think there is a conflict with 2 mods
a global images and buddy mod.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No, I'm using both mods, too and there are no problems. But currently the global images are not installed on OXPUS.de.

Describe more about your thinking.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

This MOD is not that important to me, so I can be without it.
But I tryed to install it and I get some sql error with buddies.
If you want to solve the problem I can install it again and paste here errors.
If not, no problem, like i said this mod is not so important to me.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Post the errors, if you wants to use this mod.
Then we will take a look and try to solve the problems.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

this error I get in ACP
Warning: opendir(././global_images/): failed to open dir: No such file or directory in /html/forum/admin/admin_global_images.php on line 108

Warning: readdir(): supplied argument is not a valid Directory resource in /html/forum/admin/admin_global_images.php on line 109

Warning: closedir(): supplied argument is not a valid Directory resource in /html/forum/admin/admin_global_images.php on line 114
Global Images

And in post when I click global Images
phpBB : Critical Error

Error updating sessions table

DEBUG MODE

SQL Error : 1054 Unknown column 'PAGE_BUDDIES' in 'field list'

UPDATE phpbb_sessions SET session_time = 1096287994, session_page = PAGE_BUDDIES, session_topic = '0' WHERE session_id = '56eb0642996f740c6582fecee22453d0'

Line : 287
File : /html/forum/includes/sessions.php
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, for the first error look into the admin_global_images.php and check the $phpbb_root_path:

Code: Alles auswählen

$phpbb_root_path = "./../";
This is the correct line.

For the second error replace in global_images.php

Code: Alles auswählen

$userdata = session_pagestart ($user_ip, PAGE_BUDDIES);
with

Code: Alles auswählen

$userdata = session_pagestart ($user_ip, PAGE_POSTING);
This last was a forgotten code from another mod.
Sorry for that.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

there was

Code: Alles auswählen

$phpbb_root_path = "./../";
After I change to

Code: Alles auswählen

$phpbb_root_path = "././";
I get error

Warning: main(././extension.inc): failed to open stream: No such file or directory in /html/forum/admin/admin_global_images.php on line 17

Fatal error: main(): Failed opening required '././extension.inc' (include_path='.:/usr/share/pear') in /html/forum/admin/admin_global_images.php on line 17

and when I open global Images in post I get

Warning: opendir(./global_images): failed to open dir: No such file or directory in /html/forum/global_images.php on line 26

Warning: readdir(): supplied argument is not a valid Directory resource in /html/forum/global_images.php on line 27

Warning: closedir(): supplied argument is not a valid Directory resource in /html/forum/global_images.php on line 32
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

On admin_global_images the $phpbb_root_path must be hate 3 points: "././" and on global_images.php: Make sure, the folder "global_images" will exists on your phpbb-root.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

heh, my mistake sorry.
I forget to add folder global_images on root
I add that in images folder.
Now works.
TNX
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

No problem. Sometimes a little hint and the world flows ;)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

actually I checked install file and didn't notice that there you must make global_images folder on root.
Maybe you should check for others who will install this mod.

And I hint, It would be nice to have a subfolders, not just one folder with all pic.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Oh, subfolders. I hate to create them ;)
Sometimes maybe.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

yep, but now there are all pic mixed together.
But it is not much important now, I am happy because MOD works, like all your mods.
:D
Antworten