phpBB Gallery

phpBB Gallery 1.2.1 - phpBB Gallery

Re: phpBB Gallery 1.2.1

by Daniel26 » Mon Aug 26, 2019 6:14 pm

Ok, Thanks. Did it.
I moved the 3.1.12 from one webspace to another. Then, all the pictures in the gallery are empty.
So I updated the board from 3.1.12 to 3.2.7 and the galle addon to 1.2.1. But the immageas are still gone.
What did I wrong?
Where are the images stored?

Regards

Daniel
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by janus_zonstraal » Mon Aug 26, 2019 6:29 pm

I moved the 3.1.12 from one webspace to another. Then, all the pictures in the gallery are empty.
You have to solved this first, so go back to the 3.1.12 version of phpbb and look if you see the images.
The are in de files/gallery folder
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 4852
Joined: Sat Aug 30, 2014 1:30 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Mon Aug 26, 2019 6:41 pm

There isn't a folder in the files-dir. Also not in my Backup.
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by janus_zonstraal » Mon Aug 26, 2019 6:44 pm

Do you have a gallery folder?
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 4852
Joined: Sat Aug 30, 2014 1:30 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Mon Aug 26, 2019 6:47 pm

Nope.
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by janus_zonstraal » Mon Aug 26, 2019 6:49 pm

Can you go to to your old webspace and have a look?
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 4852
Joined: Sat Aug 30, 2014 1:30 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Mon Aug 26, 2019 6:49 pm

Sorry...found a phpbbgallery in the files folder. But there are only some empty subfolders in there.
I think they are auto generated by the extension.
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by janus_zonstraal » Mon Aug 26, 2019 6:54 pm

Yes that is from the new extension, you have to look into your backup or on the old server.
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 4852
Joined: Sat Aug 30, 2014 1:30 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Tue Aug 27, 2019 6:30 am

Strange....looked all the backups i took about the last years...in all files-folders the phpggallery folders are missing.
Got a tar from the hoster...there the folders are there. Took the backups with filezilla. I don't know whats going wrong....
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Tue Aug 27, 2019 6:59 am

So, updated the Forum to 3.2.7, downloaded the gallery 1.2.1 and copied the acp*, core and exif folders to ext/phpbbgallery and get this error when I try to get to the acp:
Catchable fatal error: Argument 4 passed to phpbbgallery\core\user::__construct() must be an instance of phpbb\profilefields\manager, instance of phpbb\config\db given, called in /www/htdocs/w019b8df/husqvarna-forum.de/forum/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 3192 and defined in /www/htdocs/w019b8df/husqvarna-forum.de/forum/ext/phpbbgallery/core/user.php on line 65

How is the correct way to update from 1.2.0 to 1.2.1? Simply delete the whole extension and install it new?

Any Ideas?
Last edited by Daniel26 on Tue Aug 27, 2019 7:20 am
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by janus_zonstraal » Tue Aug 27, 2019 7:08 am

Is there a possibility that you go back to 3.1.12 and start all over again?

What php version are you using?
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 4852
Joined: Sat Aug 30, 2014 1:30 pm
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Tue Aug 27, 2019 8:16 am

Where did you get the 1.2.1 extension?

Did the gallery work on 3.1.12?

Are there files in $phpbb_root_path/files/phpbbgallery/core/source?

The error in the previous post looks like mismatch between versions.
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: 1231
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Tue Aug 27, 2019 8:17 am

Back to 3.1.12: Not really. The board was live 2 days before :/


PHP can be switch between 5.5, 7.0, 7.1, 7.2, 7.3
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by Daniel26 » Tue Aug 27, 2019 8:19 am

Satanasov wrote:Where did you get the 1.2.1 extension?

Did the gallery work on 3.1.12?

Are there files in $phpbb_root_path/files/phpbbgallery/core/source?

The error in the previous post looks like mismatch between versions.
Yes, gallery worked with 3.1.12. But gallery version was 1.2.0

Yes, now I restored files from an older backup to /files/phpbbgallery/core/source

What is the corret way to update? Delete the whole extension ext/phpbbgallery?
Daniel26
Registered User
Posts: 16
Joined: Fri Jan 27, 2017 3:11 pm
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Tue Aug 27, 2019 8:36 am

You could do that (it won't do any harm). But first deactivate the extension. Then download master branch from github (It's a bit newer then 1.2.1) and deply it as normal. If you still don't see images (AND YOU ARE SURE THEY EXIST) do this to your database:

UPDATE tableprefix_gallery_images SET image_filemissing = 0 WHERE image_filemissing = 1
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: 1231
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact: