Author Topic: Integration 4images 1.7.x / phpBB  (Read 650705 times)

0 Members and 2 Guests are viewing this topic.

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #420 on: May 11, 2006, 02:52:13 AM »
Someone can help me fixing this :

Quote
DB Error: Bad SQL Query: SELECT * FROM phpbb_config
Table 'blacktra_imga1.phpbb_config' doesn't exist

DB Error: Bad SQL Query: SELECT ban_ip, ban_userid, ban_email FROM phpbb_banlist WHERE ban_ip IN ('529b3f09', '529b3fff', '529bffff', '52ffffff') OR ban_userid = -1
Table 'blacktra_imga1.phpbb_banlist' doesn't exist

DB Error: Bad SQL Query: UPDATE phpbb_sessions SET session_user_id = -1, session_start = 1147300020, session_time = 1147300020, session_page = 0, session_logged_in = 0 WHERE session_id = '' AND session_ip = '529b3f09'
Table 'blacktra_imga1.phpbb_sessions' doesn't exist

DB Error: Bad SQL Query: INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in) VALUES ('a1817de7d279f168e48ecfadd875c66f', -1, 1147300020, 1147300020, '529b3f09', 0, 0)
Table 'blacktra_imga1.phpbb_sessions' doesn't exist

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/download/includes/db_mysql.php:188) in /home/blacktra/public_html/download/includes/sessions.php on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/blacktra/public_html/download/includes/db_mysql.php:188) in /home/blacktra/public_html/download/includes/sessions.php on line 326

DB Error: Bad SQL Query: SELECT u.user_id, u.user_level, u.username, u.user_allow_viewonline, s.session_user_id, s.session_time, s.session_ip FROM phpbb_users u, phpbb_sessions s WHERE u.user_id = s.session_user_id AND (s.session_time >= 1147299721 OR u.user_session_time >= 1147299721) ORDER BY u.user_id ASC, s.session_ip ASC
Table 'blacktra_imga1.phpbb_users' doesn't exist

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id LIMIT 0, 1
Table 'blacktra_imga1.phpbb_users' doesn't exist

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Table 'blacktra_imga1.phpbb_users' doesn't exist

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/blacktra/public_html/download/includes/db_mysql.php on line 116

prefix phpbb_ and database blacktra_phpb1

 :?:

ufopsi

  • Guest
Re: Integration 4images 1.7 / phpBB
« Reply #421 on: May 11, 2006, 12:32:11 PM »
the login of 4images doesn't work after the integration. there is an error message after the login:

Quote
Not Found
The requested URL /forum/http://genki.g2host.de/gallerie/index.php was not found on this server.

Apache/1.3.33 Server at genki.g2host.de Port 80

what can I do about it?

greez Ojii
I've the exact same problem. Now let's see what the techies here tell us. :idea:

ufopsi

  • Guest
Re: Integration 4images 1.7.x / phpBB
« Reply #422 on: May 11, 2006, 01:02:01 PM »
OK, the trick shown here:
http://www.4homepages.de/forum/index.php?topic=9917.msg31328#msg31328

Has fixed the invalid URL for me. I'm still unable to delete a db backup from the CP.

Addendum: it seems 4images has not created a cookie, even though phpBB has two.
« Last Edit: May 11, 2006, 03:44:12 PM by ufopsi »

ufopsi

  • Guest
Re: Integration 4images 1.7.x / phpBB
« Reply #423 on: May 17, 2006, 08:47:41 PM »
Regarding the error message that happens when trying to delete a db backup, I have found another way:
I ftp to my account, gallery>data>database

There are the backups I can delete.

ufopsi

  • Guest
Re: Integration 4images 1.7.x / phpBB
« Reply #424 on: May 23, 2006, 11:40:26 PM »
I'ven't been able to find a fix for the cookie issue: every time I visit my gallery, I am not logged in. I can log in, but with phpBB the session is much longer. Anyone able to help me?

Offline ana4ever-vids

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #425 on: June 23, 2006, 02:38:14 PM »
Hi,

I installed the integration but on the main page I have these errors:

Code: [Select]
DB Error: Bad SQL Query: SELECT * FROM phpbb_config
Table 'raingroup_utenti.phpbb_config' doesn't exist

DB Error: Bad SQL Query: SELECT ban_ip, ban_userid, ban_email FROM phpbb_banlist WHERE ban_ip IN ('9719202a', '971920ff', '9719ffff', '97ffffff') OR ban_userid = -1
Table 'raingroup_utenti.phpbb_banlist' doesn't exist

Warning: Cannot modify header information - headers already sent by (output started at /home/www/rainerumgroup.awardspace.com/gallery/includes/db_mysql.php:188) in /home/www/rainerumgroup.awardspace.com/gallery/includes/sessions.php on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/www/rainerumgroup.awardspace.com/gallery/includes/db_mysql.php:188) in /home/www/rainerumgroup.awardspace.com/gallery/includes/sessions.php on line 326

I know that other users had this problem, but this forum is a mess!!!




4images 1.7.2
phpBB 2.0.21


Please, help me!!! :(  It's urgent!!!
« Last Edit: June 23, 2006, 02:51:58 PM by ana4ever-vids »

Offline ana4ever-vids

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #426 on: June 23, 2006, 10:01:06 PM »
NONE?? NOTHING?? :( :( :cry: :cry:
« Last Edit: June 24, 2006, 09:17:46 PM by ana4ever-vids »

Offline MementoX

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #427 on: July 03, 2006, 12:43:00 PM »
Hab hier schon verzweifelt gesucht aber wurde leider nicht fündig... ich habe folgendes Problem nach der Integration.

Man kann sich nicht über 4Images einloggen sondern nur über phpBB. Also eigentlich funktioniert es schon aber wenn man sich einloggt unter 4images bekommt man beim IE "Seite kann nicht angezeigt werden" und unter Firefox "Not Found The requested URL /phpBB2/http://domain.com/4images/index.php was not found on this server." also quasi ein vollkommen falschen Link. Man ist aber eingeloggt danach... beim IE braucht man nur mal Refreshen und es passt und beim Firefox muss man einfach nochmal komplett neu auf die Seite...

Achja und aus dem 4Images Adminpanel kann ich mich nicht ausloggen. Konnte mich davor überhaupt nicht ausloggen da immer ein Fehler kam aber da hab ich aus der login.php was rausgelöscht was ich hier fand und nun funzt wenigstens mal das.


Hat das irgendwas mit der Cookie Domain Angabe bei phpbb oder so zu tun? ne oder?

btw: Die Urls sehen bei mir so aus...

domain.com/4images
domain.com/phpBB

Wäre toll wenn hier jemand helfen könnte =)



Thx

Offline tsr

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #428 on: July 19, 2006, 04:56:18 PM »
I read the lines and they refer to cookies. Anyone with help?

[qcode]An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

Warning: Cannot modify header information - headers already sent by (output started at /home/.antigone/ghz/thesexyrobots.net/gallery_/includes/db_mysql.php:192) in /home/.antigone/ghz/thesexyrobots.net/gallery_/includes/sessions.php on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/.antigone/ghz/thesexyrobots.net/gallery_/includes/db_mysql.php:192) in /home/.antigone/ghz/thesexyrobots.net/gallery_/includes/sessions.php on line 326

An unexpected error occured. Please try again later.

An unexpected error occured. Please try again later.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.antigone/ghz/thesexyrobots.net/gallery_/includes/db_mysql.php on line 116[/qcode]

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #429 on: July 23, 2006, 02:59:33 PM »
does this mod also work with 4 images 1.7.2?

ich habe jetzt schon länger 4 images am laufen mit einigen Usern.
W´Habe vor phpbb 2 Plus zu installieren. Sind dann die User gelöscht? Wäre ja an sich nicht so schlimm. Dann müssen sie sich halt nochmal neu in phpbb registrieren.

Bevor ich da irgendetwas rüberspiele wollte ich mal fragen, ob dies in der Reihenfolge auch funktioniert.

Thx

Offline CharlieF.

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #430 on: July 26, 2006, 08:43:36 PM »
Hab hier schon verzweifelt gesucht aber wurde leider nicht fündig... ich habe folgendes Problem nach der Integration.

Man kann sich nicht über 4Images einloggen sondern nur über phpBB. Also eigentlich funktioniert es schon aber wenn man sich einloggt unter 4images bekommt man beim IE "Seite kann nicht angezeigt werden" und unter Firefox "Not Found The requested URL /phpBB2/http://domain.com/4images/index.php was not found on this server." also quasi ein vollkommen falschen Link. Man ist aber eingeloggt danach... beim IE braucht man nur mal Refreshen und es passt und beim Firefox muss man einfach nochmal komplett neu auf die Seite...

Achja und aus dem 4Images Adminpanel kann ich mich nicht ausloggen. Konnte mich davor überhaupt nicht ausloggen da immer ein Fehler kam aber da hab ich aus der login.php was rausgelöscht was ich hier fand und nun funzt wenigstens mal das.


Hat das irgendwas mit der Cookie Domain Angabe bei phpbb oder so zu tun? ne oder?

btw: Die Urls sehen bei mir so aus...

domain.com/4images
domain.com/phpBB

Wäre toll wenn hier jemand helfen könnte =)

Thx

Habe genau das gleiche Problem.
Wäre ebenfalls sehr dankbar, wenn jemand abhelfen könnte.

Gruß,
Charlie

ufopsi

  • Guest
Re: Integration 4images 1.7.x / phpBB
« Reply #431 on: July 26, 2006, 09:18:57 PM »
Hab hier schon verzweifelt gesucht aber wurde leider nicht fündig... ich habe folgendes Problem nach der Integration.

Man kann sich nicht über 4Images einloggen sondern nur über phpBB. Also eigentlich funktioniert es schon aber wenn man sich einloggt unter 4images bekommt man beim IE "Seite kann nicht angezeigt werden" und unter Firefox "Not Found The requested URL /phpBB2/http://domain.com/4images/index.php was not found on this server." also quasi ein vollkommen falschen Link. Man ist aber eingeloggt danach... beim IE braucht man nur mal Refreshen und es passt und beim Firefox muss man einfach nochmal komplett neu auf die Seite...

Achja und aus dem 4Images Adminpanel kann ich mich nicht ausloggen. Konnte mich davor überhaupt nicht ausloggen da immer ein Fehler kam aber da hab ich aus der login.php was rausgelöscht was ich hier fand und nun funzt wenigstens mal das.


Hat das irgendwas mit der Cookie Domain Angabe bei phpbb oder so zu tun? ne oder?

btw: Die Urls sehen bei mir so aus...

domain.com/4images
domain.com/phpBB

Wäre toll wenn hier jemand helfen könnte =)

Thx

Habe genau das gleiche Problem.
Wäre ebenfalls sehr dankbar, wenn jemand abhelfen könnte.

Gruß,
Charlie
Sehr leicht!  :mrgreen: Bitte lesen weiter...
Das Problem ist die Funktion redirect() von phpBB. Die Funktion leitet nur auf URLs innerhalb des Installationsverzeichnisses weiter.

Suche in include/functions.php von phpBB nach:
Search in include/functions.php von phpBB for:

Code: [Select]
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

und ersetze den Abschnitt mit:
and replace with:


Code: [Select]
if (strpos($url, 'http://') === false) {
    $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
    $server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
    $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
    $script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
    $script_name = ($script_name == '') ? $script_name : '/' . $script_name;
    $url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
}

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #432 on: July 28, 2006, 08:38:06 PM »
wie isn das wenn man schon paar User hat in 4images?
Sind die danach alle nicht mehr brauchbar oder müssen die sich ur mit gleichen Namen und PW registrieren in phpbb?

Danke für antwort

Offline SvenK

  • Pre-Newbie
  • Posts: 6
    • View Profile
    • Koepfer's Internettool's und Familienseite
Re: Integration 4images 1.7.x / phpBB
« Reply #433 on: August 02, 2006, 10:45:21 AM »
Hallo zusammen,

bisher hatte ich PHPBB in der 2.0.19 Version und 4images in der 1.7.1 Version laufen - ohne Probleme ! Jetzt kommt aber das Update auf PHPBB 2.0.21 und 4images 1.7.3. hmmm ... normalerweise kein Problem, aber in der neuen 4images wurde die sessions.php verändert was natürlich bedeutet, daß die veränderte sessions.php im ursprünglichen Anhang hier im Post nicht mehr aktuell ist. Ich würde gerne die alte sessions.php der Version 1.7.1 mit der neuen in 1.7.3 vergleichen und dann die Änderungen in die phpbb Version hinzufügen. Leider finde ich keinen Download für die alte Version - habt ihr die Datei noch irgendwo bzw. könnt ihr die Änderungen an dieser Datei hier im Post mit angeben ???

Danke, Sven

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #434 on: August 02, 2006, 11:48:11 AM »
... verstehe ich dich richtig, du suchst die sessions.php Version 1.7.1 ? ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...