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.


Messages - denisnovikov

Pages: 1 2 [3] 4 5 6
31
Hello
I have a error :

Hi, put this code into config.php:
Code: [Select]
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);

And post back errors you will see.

32
C phpBB 3.0.6 не работает, да?  Я попробовал, не фурычит.

Плохо попробовал: http://bridge.boxup.us/ - phpBB 3.0.6

33
Denis, one more glitch... for some reason the registration date of a user is not being transferred from phpBB database into 4images database correctly.. could you please check? For all my newly registered users 4images database shows "0" in the "user_joindate" field ...

Thanks for finding, fixed

sorry guys, found a small error... in phpBB Anonymous user has user_id == 1, so the code above should be

To be even more correct there should be ANONYMOUS constant from phpBB

Both fixes are attached to the first post. Changed file only includes/phpbb.php

34
Denis, thanks for the fix! Should we download the new phpbb.php or reapply the whole mod again?

Only one line changed in phpbb.php

from
Code: [Select]
    if ($bbuser->data['user_email'] !== $user_info['user_email']) {
to
Code: [Select]
    if ($bbuser->data['user_id'] > 0 && $bbuser->data['user_email'] !== $user_info['user_email']) {

Yes, only this file and only this line.

35
same problem as reported in another bridge found in this bridge:

Fixed, attached files are updated.

Ok, guys, I have found a solution to display user's avatar in phpBB when displaying 4images comments. I.e. user avatar is uploaded using the profile editing in phpBB...

Great, I made a link from the first post to this addition. Have it sense to make it as a different mod maybe?

any news about a solution to import registered users (before the bridge installation) ? I know Denis made a script like this for the vbulletin bridge. Is it possible to have one also for this bridge ?

Unfortunately, not yet.

36
I made a mistake in config.php, now everything is ok. Thanks!  :wink:

I have the same.. blank page... although I used 3.0.6...

where was your mistake?

this is my part of config.php... PLEASE HELP!

Code: [Select]
define('PHPBB3_BRIDGE_ON', true);
define('PHPBB3_PATH', '/home/user/public_html/site/forum/');
define('PHPBB3_URL', 'http://site.com/forum');

And also found your Modded files, and installed 3.0.5 with no success... blank screen.... :(

Just updated phpBB on bridge.boxup.us to version 3.0.6 everything seems working just fine.

Usual mistake in config file is emtpy lines or any other symbols after "?>" symbols at the end of file. Handy would be turning error reporting on and see what exactly produces error, blank screen means you got an error but you picked an option to not show any errors on output, or just check your php logs.

Update on problem
Bridge seems not to be working if phpBB configured to use mysql driver. Use mysqli instead (http://php.net/manual/en/mysqli.overview.php).
phpBB_installation_path/config.php
Code: [Select]
$dbms = 'mysqli';Thanks to alekseyn1 for finding.

37
I have the same type of error. You found the cause of this error? If so, can it be publicly exposed? Thanks!
wignut, had a problems with additional bridge he was using integration mod between Joomla and phpBB. If you refer to the first post you will see the update in it about this issue.

1. does it work with 1.7.6 ?
It should work, however I recommend you update to 1.7.7 as it includes some important fixes and updates.

2. you say it does login from the phpbb database... how does it works ? if user is connected to the gallery page and he tries to login, hitting login button will call a file from the phpscript? or he has to first access the forum sistem and them do login ?
After user click on the button 'Login' he will be forwarded to the phpBB login page and will be logged in by phpBB application using data user inputed into the form on the gallery page.

3. is it possible to use 4images DB for login? after logout to be redirected to gallery page?
4images will use it's own database and tables for everything it was using it before.

4. what about existing users ? are they lost ?
No they will not in both applications. Existing users into phpBB application will be able to login to both application after mod installation. 4images will not be able to login into any of applications. I have in my task list create a user export from 4images to phpBB, but can't give you any estimate at the moment. And of course do backups before playing with not only this one mod but any modifications you do with any application.

5. both sistems share the same session ?
Yes.

6. what about for registration ? calling the registration form from gallery or forum is the same ?
Registration link from 4images leads to the phpBB registration page.

38
I turned on error reporting and got nothing...just a blank page. Nothing in error log either.

I just did ftp up your complete package of modded and non-modded files and edited config.php with my info. Still just a blank page. If I turn off PHPBB3_BRIDGE in config.php, then 4images works as expected.

Hit me up via PM with details I'll look by myself.

39
Denis, thanks for implementing this great mod! (if I could get it to work!)

It seems that when I turn on the bridge in config.php, when I go to my 4images folder all I get is a blank page. I first manually edited each file according to your instructions, and when that failed, thinking I made a typo somewhere, I uploaded the modded files you provided. I still get the same thing. I log into phpbb, then try to go into 4images and the page is blank. Has anyone reported this behavior yet?

Thanks again, as I believe 4images is the all-around open source gallery component available.


Hi, could you try:
1. Turn error reporting and see what exactly happens when you going to 4images.
2. Install fresh and clean version of the 4images and see if the same thing happens with blank page.

40
1. User can't login in gallery in Opera(v 9.52) and Safari(v 4.0). User login to the forum, but there isn't autologin into gallery. (Ie, Mozilla and Chrome is work)

Safari should work as it's mine main browser and all tests I'm doing firstly with it. As for Opera I have version 10.0 and it also works normally.

2. If user logout from forum and then refresh gallery-page, then field user_email in the table gl_users for this user will be empty.

Weird. I'm going to test it tonight and will report shortly if I find any problems.

PS. Today i see that one user disappeared from table gl_users. I don't know how its happened, but i have backup where this user was in that table.  

This is more weird as my scripts do not delete anything from database, only inserting and updating rows in there.

PS2. Denis, if you will change vb.php then, please:
 - insert version of the file into it (today i trying different version and sometimes i forget what version i use now  :oops:);
 - change "logout&logouthash" for "logout&logouthash" (Mozilla's plugin think that this is error).

Thanks for suggestions I will definitely do it.

Somebody have this error? Or it's only my problem? (i think that all worked when i test this mod first time, but i am not sure).

Try to cleanup browsers cookies, if you test alot -- cookies could be a real problem.


Update:
2. If user logout from forum and then refresh gallery-page, then field user_email in the table gl_users for this user will be empty.

Fixed in version 0.6 (now in the code)

41
Hallo,

scheint ja wirklich zu funktionieren, wie ist es aber wenn man bereits 4 Images und phpbb3 zu laufen hat, und jeweils unterschiedliche User in beiden Userdatenbanken vorhanden sind??

gehen evtl welche verloren?? müssen sich einige User neuregistrieren die jetz nur in der Galerie sind, aber nicht im Forum und umgekehrt??

gibt es da schon Erfahrungswerte?

Привет,

Если у тебя были пользователи в phpBB и ты ставишь 4images "с нуля", то ничего делать не надо, пользователи перенесутся автоматически в 4images. Если у тебя уже есть 4images и ты хочешь добавить phpBB, то тебе стоит подождать немного, у меня есть в планах разработка скрипта похожего на vBulletin user export ( http://www.4homepages.de/forum/index.php?topic=23892.0 ).

 8O

42
when i use  my vb admin account  to enter the 4image

in firefox i got error page and sometime i got this error in IE:

Warning: include(./global.php) [function.include]: failed to open stream: No such file or directory in /home/alwasmy/public_html/143/sales/index.php on line 31

Warning: include(./global.php) [function.include]: failed to open stream: No such file or directory in /home/alwasmy/public_html/143/sales/index.php on line 31

Warning: include() [function.include]: Failed opening './global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/alwasmy/public_html/143/sales/index.php on line 31

Fatal error: Call to a member function query_firstrow() on a non-object in /home/alwasmy/public_html/143/sales/includes/sessions.php on line 316


help plz

btw, with the normal user the site is fine


EDIT:

this error in firefox:

(net::ERR_TOO_MANY_REDIRECTS)‏

only with admin account

That's pretty strange, the error is pretty clear -- you don't have a global.php file in your 4images installation. Check if you have all files from original 4images package.

43
output started at /home/alwasmy/public_html/143/sales/config.php:74

I bet you should check config file and see if there is any output happening. Even if there is no any output with php functions like echo and print, make sure you have nothing (even single line break) after ?> symbols.

44
One more error.
Browser Mozilla Firefox:
1. Open gallery
2. Open forum and login
3. Refresh page with gallery. At the top of page i see "UPDATE gl_users SET user_email = 'myemail@gmail.com' WHERE user_id = '1' LIMIT 1; " , if i refresh page one more time, then i didn't see this message.
 
In the IE i didn't see this message.

Yeah I know about this problem, just update vb.php with the current attached to the topic. It seems like you got it downloaded before I fixed and reuploaded the file. Sorry about this!

45
Updated the first post with link to demo.

Pages: 1 2 [3] 4 5 6