[BETA] Photo Gallery 0.1.0

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

How would you rate this mod?

Excellent!
41
57%
Very good
15
21%
Good
8
11%
Fair
5
7%
Poor
3
4%
 
Total votes : 72

Re: [BETA] Photo Gallery 0.1.0

Postby zver » 22 Jul 2007, 05:52

I installed mod, got it among the modules, got the link on forum...

But when I click it, there is the general error, and I don't know how to activade modile.

I add them, and enable. but when I click on gallery I get this:

Spoiler:
General Error
SQL ERROR [ mysql4 ]

Table 'zver_php3.php_gallery' doesn't exist [1146]

SQL

SELECT * FROM php_gallery WHERE parent_id = 0 ORDER BY left_id ASC LIMIT 25

BACKTRACE


FILE: includes/db/mysql.php
LINE: 133
CALL: dbal->sql_error()

FILE: includes/db/mysql.php
LINE: 180
CALL: dbal_mysql->sql_query()

FILE: includes/db/dbal.php
LINE: 145
CALL: dbal_mysql->_sql_query_limit()

FILE: includes/gallery/gallery_main.php
LINE: 133
CALL: dbal->sql_query_limit()

FILE: includes/functions_module.php
LINE: 476
CALL: gallery_main->main()

FILE: gallery.php
LINE: 52
CALL: p_master->load_active()
zver
Crewman
Crewman
 
Posts: 7
Joined: 13 Jul 2007, 01:39
Gender: Male


Re: [BETA] Photo Gallery 0.1.0

Postby Rene » 22 Jul 2007, 09:47

I think that there is a big error created with the install.
Buth is there a way to uninstall the gallery, so i can all the inputs at the msql remove?

Thanks
Rene    
Crewman
Crewman
 
Posts: 6
Joined: 22 Feb 2007, 14:06
Location: Netherlands
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby WheelGuy » 22 Jul 2007, 11:14

I keep getting the following error when clicking "any" tab in the gallery except "view photo".
Code: Select all
Fatal error: Call to undefined function: mb_strlen() ........./forum/includes/gallery/gallery_main.php on line 674

Refers to different lines from each tab, but when I look at gallery_main.php, each line refers to photo_comment. I had to comment out //set our multibyte to utf8
line 60 mb_internal_encoding("UTF-8"); in order to "break out of" this error: Fatal error: Call to undefined function: mb_internal_encoding()
WheelGuy
Crewman
Crewman
 
Posts: 4
Joined: 20 Jul 2007, 12:02
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby Ladysarajane » 22 Jul 2007, 12:14

I am sorry that I haven't been on last night, but my Uncle had a heart attack. Since I am the family spokesperson, my time on the computer will be limited the next couple of days, but I will try to help people when I can get on.

@wampy: Check your database and make sure the gallery tables are present

@ncmontas: follow my directions I gave to Sharpo earlier in this topic to "activate" this mod.

@taiwai: I haven't had that problem at all. The image shows for me with no problems with the bb code.

@zver: Double check your edits on the language/en/common.php file I reproduce that error when the edits are wrong on that file. Also check to make sure that the gallery tables are on the database. If not run the gallery_db.php file again, and make sure you remove that file from the server when done.

@Rene: This is a beta mod, so it is not guarenteed to work. Most of the problems I have seen so far is editing errors and database installing errors and not activating the mod. There is not an uninstall feature. Hopefully you have a database backup you can use and you can manually remove the edits from the files.

@Wheelman: First time I have seen that. You might want to give it a bug report Here: https://startrekguide.bountysource.com/development
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [BETA] Photo Gallery 0.1.0

Postby Rene » 22 Jul 2007, 12:31

Ladysarajane wrote:@Rene: This is a beta mod, so it is not guarenteed to work. Most of the problems I have seen so far is editing errors and database installing errors and not activating the mod. There is not an uninstall feature. Hopefully you have a database backup you can use and you can manually remove the edits from the files.


Is there a file witch explains what is added to the mysql database?
Becaus i have a backup, buth i want to be sure that all the gallery inputs are removed, so i can try agian, now when a try again there is a text, you alrade using gallery version ......

Thanks
Rene    
Crewman
Crewman
 
Posts: 6
Joined: 22 Feb 2007, 14:06
Location: Netherlands
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby Wampy » 22 Jul 2007, 13:07

Lady - Sorry to hear the bad news, hope things get better soon for you and your family.

The db tables re set up, the file is removed, and still a blank page. I will pursue it more when I have a little more free time. Thanks again.
Wampy
Cadet I
Cadet I
 
Posts: 10
Joined: 21 Jul 2007, 06:53
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby Handyman » 22 Jul 2007, 13:16

Wampy wrote:Lady - Sorry to hear the bad news, hope things get better soon for you and your family.

The db tables re set up, the file is removed, and still a blank page. I will pursue it more when I have a little more free time. Thanks again.

Wampy, open the includes/gallery/gallery_main.php and on line 60 remove
Code: Select all
        mb_internal_encoding("UTF-8");
  

and in that same file, find all instances of
Code: Select all
mb_strlen
and
Code: Select all
mb_substr
and replace them with
Code: Select all
strlen
and
Code: Select all
substr


then see if the page shows up for you.

I'm going to make a bug report on those multi byte functions? it's really odd that they don't work for everybody.
They are standard in php since php 4.0.6

phpBB most likely created functions to do that job? since I have more time before the next release, I'll be able to have a look at it.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
STG Jedi Master
STG Jedi Master
 
Posts: 7164
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby Ladysarajane » 22 Jul 2007, 13:18

Rene if you open gallery_db.php in a text editor, you can see roughly what is added to the database.
Tables gallery, gallery comments, gallery photos, gallery ratings can be out right dropped.

Then in bbcodes table You will need to look at that and remove the photo reference there.
Then in modules you will need to look under module class for gallery references.

I am trying to clear my database manually also and I keep getting the latest gallery message also.... :scratch:

Thanks Wampy. Once he gets past 3-4 days he should be fine. He has a complication that if it doesn't resolve in the next 24 hours he will have to have a procedure done and that procedure is dangerous. Wampy do you know what version php and sql that you have?

@ Handyman thanks! :D That might help a few of the others also.


EDIT: Rene I forgot the phpbb_config table Browse it and there are 11 references to photo gallery:
photo_bbcode
photo_gallery_version
photo_max_height
photo_max_rating
photo_max_width
photo_min_rating
photo_thumb_height
photo_thumb_width
photo_upload_height
photo_upload_width
photo_user_galleries

After I removed those, I was able to reinstall gallery_db.php without a problem.
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [BETA] Photo Gallery 0.1.0

Postby Wampy » 22 Jul 2007, 13:37

Handyman, that seems to have fixed it. The page is now displaying with no problems, as far as I can see.

Thank you very much. :D
Wampy
Cadet I
Cadet I
 
Posts: 10
Joined: 21 Jul 2007, 06:53
Gender: Male

Re: [BETA] Photo Gallery 0.1.0

Postby Ladysarajane » 22 Jul 2007, 13:53

Wampy wrote:Handyman, that seems to have fixed it. The page is now displaying with no problems, as far as I can see.

Thank you very much. :D


Great!

Wampy what php are you running?
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

PreviousNext

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: ccBot [Bot] and 10 guests