[RC] phpBB Gallery 1.0.4 (including TS Gallery converter)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by FreakyBlue » Sun Aug 10, 2008 8:59 pm

Call me a real dummy, but i have a question about this update :oops:

I have the 0.3.1 gallery at my forum. What should i do to upgrade it at a right way?

Follow all the steps in the basic install.xml?
Or just the steps in the update-file in the folder "contrib" under "update_0_3_1_to_0_4_0-RC1"?

And i will keep all my photo's?
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by nickvergessen » Sun Aug 10, 2008 9:25 pm

contrib/update_0_3_1_to_0_4_0-RC1/update.xml
maybe you need
contrib/update_0_3_1_to_0_4_0-RC1/xml/subsilver2.xml or contrib/update_0_3_1_to_0_4_0-RC1/xml/de.xml aswell (when you got subsilver2-Template or German-Language)
No Support via PM

absolutex
Registered User
Posts: 57
Joined: Tue Jul 01, 2008 4:33 pm
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by absolutex » Mon Aug 11, 2008 3:46 am

i got blank page

image_page.php?album_id=1&image_id=5

:(

and in session.php

$sql_ary['session_album_id'] = $this->page['album'];
$sql_ary['session_album_id'] = $this->page['album'];

????? duplication

0.3.1 ----- 0.4.0RC1

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by nickvergessen » Mon Aug 11, 2008 5:20 am

absolutex wrote:i got blank page

image_page.php?album_id=1&image_id=5
please enable the debug mod in the config.php
absolutex wrote:and in session.php

$sql_ary['session_album_id'] = $this->page['album'];
$sql_ary['session_album_id'] = $this->page['album'];
you may not only search for the last line in the find-block.
there are 4 lines of

Code: Select all

$sql_ary['session_forum_id'] = $this->page['forum'];
we have to add

Code: Select all

$sql_ary['session_album_id'] = $this->page['album'];
after all 4
No Support via PM

mahase
Registered User
Posts: 11
Joined: Thu Aug 07, 2008 9:55 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by mahase » Mon Aug 11, 2008 6:00 am

i install 0.4.0-rc1.. i can create albums but when i go to view the albums i get the following error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) GROUP BY p.perm_system DESC, p.perm_album_id ASC' at line 6 [1064]


how can i fix this..

Thanks

absolutex
Registered User
Posts: 57
Joined: Tue Jul 01, 2008 4:33 pm
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by absolutex » Mon Aug 11, 2008 6:30 am

please enable the debug mod in the config.php

@define('DEBUG', true);
@define('DEBUG_EXTRA', true);

not work and i got

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3330: Undefined index: HIDDEN_USERS_ZERO_TOTAL_AND
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3618: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3620: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3621: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3622: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2989)
[phpBB Debug] PHP Notice: in file /includes/functions_seo.php on line 275: Undefined variable: string


image_page.php?album_id=1&image_id=5

blank

:shock:

i just replace all file in root and update_0_3_1_to_0_4_0-RC

what i'am doing wrong ?
Last edited by absolutex on Mon Aug 11, 2008 6:38 am, edited 1 time in total.

mahase
Registered User
Posts: 11
Joined: Thu Aug 07, 2008 9:55 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by mahase » Mon Aug 11, 2008 6:37 am

this is what i get now.


SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) GROUP BY p.perm_system DESC, p.perm_album_id ASC' at line 6 [1064]

SQL

SELECT p.perm_album_id, MAX(i_view) as i_view, MAX(i_upload) as i_upload, MAX(i_edit) as i_edit, MAX(i_delete) as i_delete, MAX(i_approve) as i_approve, MAX(i_lock) as i_lock, MAX(i_report) as i_report, MAX(i_count) as i_count, MAX(a_moderate) as a_moderate, MAX(album_count) as album_count, MAX(i_rate) as i_rate, MAX(c_post) as c_post, MAX(c_edit) as c_edit, MAX(c_delete) as c_delete, p.perm_system FROM phpbb_gallery_permissions as p LEFT JOIN phpbb_gallery_roles as pr ON p.perm_role_id = pr.role_id WHERE ( p.perm_user_id = 1 OR p.perm_group_id IN ()) GROUP BY p.perm_system DESC, p.perm_album_id ASC

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: gallery/includes/permissions.php
LINE: 86
CALL: dbal_mysql->sql_query()

FILE: gallery/index.php
LINE: 31
CALL: get_album_access_array()


Thank you for your help

User avatar
MagicMike304
Registered User
Posts: 185
Joined: Sun Aug 22, 2004 7:04 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by MagicMike304 » Mon Aug 11, 2008 6:43 am

I get a white page too on image_page.php page. With debug turned on, still a white page, no errors, just a white page.

demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by demon327 » Mon Aug 11, 2008 11:22 am

Nick, what has bin changed since version 0.2.3 if it comes to the lang files? ;)

User avatar
FreakyBlue
Registered User
Posts: 331
Joined: Sun Jul 27, 2008 6:00 pm
Name: David Jansen
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by FreakyBlue » Mon Aug 11, 2008 3:02 pm

Is there actually a SEO-option/-mod for this gallery?
My music and tutorials -> https://youtube.com/gh0stwrit3rMusic/
Former phpBB Style and Mod Author -> https://www.phpbb.com/customise/db/auth ... tributions

ryudr
Registered User
Posts: 17
Joined: Wed Apr 30, 2008 9:54 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by ryudr » Mon Aug 11, 2008 3:10 pm

* BEFORE UPDATE SAVE ALL YOUR FILES + MySQL Base *
If you save only files suposed to be changed it's your own risk

Acutally there is no SEO-option for this mod.

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by nickvergessen » Mon Aug 11, 2008 4:39 pm

absolutex wrote:[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3330: Undefined index: HIDDEN_USERS_ZERO_TOTAL_AND
This seems to be a phpbb related error, you language-package is out-dated!

demon327 wrote:Nick, what has bin changed since version 0.2.3 if it comes to the lang files? ;)
quite a lot, sorry i don't know, but you may use programms like win merge or something to compare them.
mahase wrote:WHERE ( p.perm_user_id = 1 OR p.perm_group_id IN ())
Seems like you deleted your guest-user out of the Guests-System-Group!
No Support via PM

absolutex
Registered User
Posts: 57
Joined: Tue Jul 01, 2008 4:33 pm
Contact:

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by absolutex » Mon Aug 11, 2008 4:42 pm

- blank page - Only me ?

User avatar
MagicMike304
Registered User
Posts: 185
Joined: Sun Aug 22, 2004 7:04 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by MagicMike304 » Mon Aug 11, 2008 5:08 pm

absolutex wrote:- blank page - Only me ?
Nope, I get a blank page on image_page.php page.

SharpShot.gif
Registered User
Posts: 18
Joined: Tue Jul 10, 2007 5:56 pm

Re: [Beta] phpBB Gallery 0.4.0-RC1

Post by SharpShot.gif » Mon Aug 11, 2008 5:13 pm

i get the following error

Code: Select all

[phpBB Debug] PHP Notice: in file /gallery/includes/functions_recent.php on line 16: Missing argument 4 for recent_gallery_images(), called in /index.php on line 47 and defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3551: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3553: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3554: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3555: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
how do i fix this

edit
--
fixed it in the updated you from 0.3.1 to 0.4.0 when editing the indxe.php you didn't have a part that said remove recent_gallery_images(1, 4, $display);

Locked

Return to “[3.0.x] MODs in Development”