[RC] phpBB Gallery

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
carik
Registered User
Posts: 19
Joined: Wed Feb 06, 2013 3:38 pm

Re: [BETA] phpBB Gallery

Post by carik » Fri Apr 24, 2015 10:27 pm

beautycase wrote:Hello caric,
I tried it. It doesn't work....
Should I give special name to this folder? I just called it "folder" in "gallery" ant put the index.html with your content in it. Same shit...
oh... I didn't understand you, my sentence works when the link gallery on the homepage isn't correct.
check the permissions for the administrator. setup of access permissions is in control of extension to gallery, also there is a setup of the permissions in the administrator's panel - the permissions of groups - the administrator - to edit the permissions.

Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [BETA] phpBB Gallery

Post by Korkel » Sat Apr 25, 2015 8:06 am

It broke the ACP...

I can't delete data from it, I can't remove it!

Code: Select all

Algemene fout
SQL ERROR [ mysql4 ]

Table 'deb8381_cms.phpbb3_gallery_images' doesn't exist [1146]

SQL

SHOW COLUMNS FROM phpbb3_gallery_images

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1163
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1185
CALL: phpbb\db\tools->sql_list_columns()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 855
CALL: phpbb\db\tools->sql_column_exists()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 438
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 391
CALL: phpbb\db\migrator->try_revert()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 387
CALL: phpbb\db\migrator->revert_do()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 365
CALL: phpbb\db\migrator->revert_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 112
CALL: phpbb\db\migrator->revert()

FILE: [ROOT]/ext/phpbbgallery/core/ext.php
LINE: 123
CALL: phpbb\extension\base->purge_step()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 356
CALL: phpbbgallery\core\ext->purge_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 265
CALL: phpbb\extension\manager->purge_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Serious give me a solution I don't want this broke your forum stuff!
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image

Satanasov
Registered User
Posts: 1180
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] phpBB Gallery

Post by Satanasov » Sun Apr 26, 2015 8:05 am

Korkel wrote:It broke the ACP...

I can't delete data from it, I can't remove it!

Code: Select all

Algemene fout
SQL ERROR [ mysql4 ]

Table 'deb8381_cms.phpbb3_gallery_images' doesn't exist [1146]

SQL

SHOW COLUMNS FROM phpbb3_gallery_images

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysql.php
LINE: 181
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1163
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1185
CALL: phpbb\db\tools->sql_list_columns()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 855
CALL: phpbb\db\tools->sql_column_exists()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 438
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 391
CALL: phpbb\db\migrator->try_revert()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 387
CALL: phpbb\db\migrator->revert_do()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 365
CALL: phpbb\db\migrator->revert_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 112
CALL: phpbb\db\migrator->revert()

FILE: [ROOT]/ext/phpbbgallery/core/ext.php
LINE: 123
CALL: phpbb\extension\base->purge_step()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 356
CALL: phpbbgallery\core\ext->purge_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 265
CALL: phpbb\extension\manager->purge_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Serious give me a solution I don't want this broke your forum stuff!
What are you trying to do? I think you have deleted some database that you shouldn't.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [BETA] phpBB Gallery

Post by Korkel » Sun Apr 26, 2015 8:43 am

I've not deleted database stuff... I'm trying to delete this extension but that is not working... Your extension, your fault, you need to give a solution.
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image

Huskyfriends.social
Registered User
Posts: 10
Joined: Fri Jan 09, 2015 11:50 am
Location: Germany

Re: [BETA] phpBB Gallery

Post by Huskyfriends.social » Sun Apr 26, 2015 10:48 am

Korkel wrote:I've not deleted database stuff... I'm trying to delete this extension but that is not working... Your extension, your fault, you need to give a solution.
first: it is BETA!!! You Need to upload your backup, both database and files, then go to ACP, deactivate the Extension and finally delete the data. Last step is to delete /ext/phpbbgallery! DONE

User avatar
Oroton
Registered User
Posts: 70
Joined: Wed Oct 17, 2012 10:40 am

Re: [BETA] phpBB Gallery

Post by Oroton » Sun Apr 26, 2015 11:03 am

Korkel wrote:I've not deleted database stuff... I'm trying to delete this extension but that is not working... Your extension, your fault, you need to give a solution.

yep, your going to get help.. :lol:

User avatar
frax
Registered User
Posts: 44
Joined: Thu Dec 11, 2014 4:10 pm
Location: Cosenza
Name: Frax C.
Contact:

Re: [BETA] phpBB Gallery

Post by frax » Sun Apr 26, 2015 3:38 pm

To me it all works pretty well. Only problem the image width is often not compatible with mobile devices.

beautycase
Registered User
Posts: 14
Joined: Thu Apr 23, 2015 10:06 pm

Re: [BETA] phpBB Gallery

Post by beautycase » Sun Apr 26, 2015 4:37 pm

Hello Lucifer4o and all others,

is there also the German Version for this extension?
If not, please give the language-files to me, I will create the german translation.
I also can create Spanish version.

beautycase
Registered User
Posts: 14
Joined: Thu Apr 23, 2015 10:06 pm

Re: [BETA] phpBB Gallery

Post by beautycase » Sun Apr 26, 2015 4:42 pm

Hello Carik, thank you, I will try it...
I already set up all possibly permissions, but I think, I can't see and edit the right one...
Where can I find specially access permissions for the gallery in ACP? Can you explain me where exactly it is?
I'm veeeery new in creating a forum...
Thanks in advance.

Maria

Satanasov
Registered User
Posts: 1180
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] phpBB Gallery

Post by Satanasov » Sun Apr 26, 2015 10:04 pm

Oroton wrote:
Korkel wrote:I've not deleted database stuff... I'm trying to delete this extension but that is not working... Your extension, your fault, you need to give a solution.

yep, your going to get help.. :lol:
Yep .... sorry to be a bad dev but ... this guy just got on my funny side ...
beautycase wrote:Hello Lucifer4o and all others,

is there also the German Version for this extension?
If not, please give the language-files to me, I will create the german translation.
I also can create Spanish version.
Hello there - there is german translation. So install away
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

Satanasov
Registered User
Posts: 1180
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] phpBB Gallery

Post by Satanasov » Sun Apr 26, 2015 10:09 pm

beautycase wrote:Hello Carik, thank you, I will try it...
I already set up all possibly permissions, but I think, I can't see and edit the right one...
Where can I find specially access permissions for the gallery in ACP? Can you explain me where exactly it is?
I'm veeeery new in creating a forum...
Thanks in advance.

Maria
Hello there. There are 2 types of permissions for the extension - global board wide permissions which are set at

ACP -> Permissions -> Administrative permissions -> Misc and here find all gallery related permissions

Setting those you will be able to set album permissions at ACL-> Extensions -> PHPBB GALLERY-> Permissions

If you need some more in depth help - do not hesitate to contact me. I will try to replay as fast as possible.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

beautycase
Registered User
Posts: 14
Joined: Thu Apr 23, 2015 10:06 pm

Re: [BETA] phpBB Gallery

Post by beautycase » Mon Apr 27, 2015 9:27 am

Hello Lucifer4o,
I made all what you told, but it doesn't work...
Look, when you go to the gallery link from the main page, there ist a warning "forbidden", though I have all admin permissions...

http://www.pmu-forum.de

Could you maybe take a look at my ACP? I can give you access to it. Would you have time for it?

Huskyfriends.social
Registered User
Posts: 10
Joined: Fri Jan 09, 2015 11:50 am
Location: Germany

Re: [BETA] phpBB Gallery

Post by Huskyfriends.social » Mon Apr 27, 2015 10:50 am

beautycase wrote:Hello Lucifer4o,
I made all what you told, but it doesn't work...
Look, when you go to the gallery link from the main page, there ist a warning "forbidden", though I have all admin permissions...

http://www.pmu-forum.de

Could you maybe take a look at my ACP? I can give you access to it. Would you have time for it?
Did you try to Access your Gallery via www.pmu-forum.de/app.php/gallery ? Please check if this works.

carik
Registered User
Posts: 19
Joined: Wed Feb 06, 2013 3:38 pm

Re: [BETA] phpBB Gallery

Post by carik » Mon Apr 27, 2015 11:05 am

beautycase wrote:Hello Lucifer4o,
I made all what you told, but it doesn't work...
Look, when you go to the gallery link from the main page, there ist a warning "forbidden", though I have all admin permissions...

http://www.pmu-forum.de

Could you maybe take a look at my ACP? I can give you access to it. Would you have time for it?

Code: Select all

You don't have permission to access /gallery/ on this server.
create a folder - gallery - on your server where the folder ext, rights 755, in it create a file index.html content
<html>
the <head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<SCRIPT>
someTimeout = 100; // redirect after 4 seconds
window.setTimeout("document.location = 'http:// your domain /app.php/gallery';", someTimeout);
</SCRIPT>
<body bgcolor="#FFFFFF" text="#000000">

</body>
</html>

User avatar
Oroton
Registered User
Posts: 70
Joined: Wed Oct 17, 2012 10:40 am

Re: [BETA] phpBB Gallery

Post by Oroton » Mon Apr 27, 2015 11:52 am

tried to upload a photo

Code: Select all

General Error

SQL ERROR [ mysqli ]

Field 'image_exif_data' doesn't have a default value [1364]

SQL

INSERT INTO PREFIX_gallery_images (image_name, image_name_clean, image_filename, filesize_upload, image_time, image_user_id, image_user_colour, image_username, image_username_clean, image_user_ip, image_album_id, image_status, image_contest, image_allow_comments, image_desc, image_desc_uid, image_desc_bitfield) VALUES ('brc', 'brc', 'faf684b0b029bf1ab70684ec2b724708.jpg', 119779, 1430135430, 2, '', 'Admin', 'admin', '110.174.216.155', 15, 3, 0, 1, '', '', '')

BACKTRACE


FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 431
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 369
CALL: phpbbgallery\core\upload->file_to_database()

FILE: [ROOT]/ext/phpbbgallery/core/upload.php
LINE: 106
CALL: phpbbgallery\core\upload->prepare_file()

FILE: [ROOT]/ext/phpbbgallery/core/controller/upload.php
LINE: 165
CALL: phpbbgallery\core\upload->upload_file()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbbgallery\core\controller\upload->main()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
This seemed to fix it

Code: Select all


ALTER TABLE PREFIX_gallery_images CHANGE image_exif_data image_exif_data VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT ' ' 

i Uploaded the old /gallery/images/upload files to /files/phpbbgallery/core/source
but I'd say only 30% of them worked the others didn't and the thumb nails haven't transferred across.

I did the acp controls for all of them. and none of them became thumbnails.
Happy to start from scratch, but would really prefer not to.

Locked

Return to “Extensions in Development”