[ABD] PhpBB Directory

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [3.2][RC] PhpBB Directory

Post by donsenilo »

ErnadoO wrote: Wed Apr 25, 2018 2:33 pm Hi,

What type cache are you using ($acm_type in config.php) ?
Hi ErnadoO

Sorry ... it was my fault (I was to quick). It works perfectly !
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

phew :D
Former Administrator && MOD team leader on phpbb-fr.com
epiksel
Registered User
Posts: 8
Joined: Thu Jul 12, 2018 12:18 pm

Re: [3.2][RC] PhpBB Directory

Post by epiksel »

ErnadoO wrote: Fri Jun 16, 2017 11:13 am Hello

https://github.com/ErnadoO/ext-phpbb-di ... r.json#L23

This extension requires phpbb 3.2.1-dev minimum, so you need to use phpBB from github repository
Hi ErnadoO,

phpBB v3.2.2
php 7.1
allow_url_fopen ON
phpbbdirectory v2.0.1-RC1

When I enable extension we get this error.

Code: Select all

PHP Fatal error:  Uncaught Symfony\Component\Config\Exception\FileLoaderLoadException: Cannot load resource "ernadoo_phpbbdirectory_route_controller". in /home/xxxxxxxxxxx/public_html/vendor/symfony/config/Loader/Loader.php:73
Stack trace:
#0 /home/xxxxxxxxxxx/public_html/vendor/symfony/config/Loader/FileLoader.php(72): Symfony\Component\Config\Loader\Loader->resolve('ernadoo_phpbbdi...', 'ernadoo_phpbbdi...')
#1 /home/xxxxxxxxxxx/public_html/vendor/symfony/routing/Loader/YamlFileLoader.php(174): Symfony\Component\Config\Loader\FileLoader->import('ernadoo_phpbbdi...', 'ernadoo_phpbbdi...', false, 'ext/ernadoo/php...')
#2 /home/xxxxxxxxxxx/public_html/vendor/symfony/routing/Loader/YamlFileLoader.php(94): Symfony\Component\Routing\Loader\YamlFileLoader->parseImport(Object(Symfony\Component\Routing\RouteCollection), Array, '/home/xxxxxxxx...', 'ext/ernadoo/php...')
#3 /home/xxxxxxxxxxx/public_html/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\Routing\Loader\YamlFileLoader->load('ext/ernadoo/php... in /home/xxxxxxxxxxx/public_html/vendor/symfony/config/Loader/Loader.php on line 73
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

Hello

I can't reproduce, even with your config :/

But, you can try this:

in config/routing.yml, replace:

Code: Select all

ernadoo_phpbbdirectory_dynamic_controller:
    resource: ernadoo_phpbbdirectory_route_controller
    type: ernadoo_phpbbdirectory_route
with:

Code: Select all

ernadoo_phpbbdirectory_dynamic_controller:
    resource: .
    type: ernadoo_phpbbdirectory_route
An clean your cache before retry
Former Administrator && MOD team leader on phpbb-fr.com
epiksel
Registered User
Posts: 8
Joined: Thu Jul 12, 2018 12:18 pm

Re: [3.2][RC] PhpBB Directory

Post by epiksel »

ErnadoO wrote: Fri Jul 20, 2018 12:16 pm Hello

I can't reproduce, even with your config :/

But, you can try this:

in config/routing.yml, replace:

Code: Select all

ernadoo_phpbbdirectory_dynamic_controller:
    resource: ernadoo_phpbbdirectory_route_controller
    type: ernadoo_phpbbdirectory_route
with:

Code: Select all

ernadoo_phpbbdirectory_dynamic_controller:
    resource: .
    type: ernadoo_phpbbdirectory_route
An clean your cache before retry
I have made changes and tried but the error continues.

Code: Select all

ernadoo_phpbbdirectory_dynamic_controller:
    resource: ernadoo_phpbbdirectory_route_controller
    type: ernadoo_phpbbdirectory_route
I completely removed these lines and tried. Installed without error. I again added the code lines I removed after installation. Will this cause other problems?
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

epiksel wrote: Fri Jul 20, 2018 2:20 pm I completely removed these lines and tried. Installed without error. I again added the code lines I removed after installation. Will this cause other problems?
mhh, i don't know. Try to clear the cache and create a new directory category with a route (a custom url) and go to the directory.
Former Administrator && MOD team leader on phpbb-fr.com
epiksel
Registered User
Posts: 8
Joined: Thu Jul 12, 2018 12:18 pm

Re: [3.2][RC] PhpBB Directory

Post by epiksel »

ErnadoO wrote: Fri Jul 20, 2018 2:51 pm mhh, i don't know. Try to clear the cache and create a new directory category with a route (a custom url) and go to the directory.
No problem for now. Thanks.
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

New release !

See first post for Download Link

As usual, disable, replace files and enable extension ;)
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [3.2][RC] PhpBB Directory

Post by noth »

both the new release specified by Ernadoo above and the original 3.1 version work on 3.2.2

both are extremely good , great work Ernadoo (yes I did have a beer! :mrgreen: )
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

Thx but 3.1 version doesn't work with phpbb 3.2 (phpbb notification system is different)
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [3.2][RC] PhpBB Directory

Post by noth »

one thought for admins running https

the system in the ext calls an image e.g insecure image 'http://www.apercite.fr/apercite/120x90/oui/oui

this causes the Forum to lose the Secure status because of the apercite.fr not being https?

minor point but would be great to solve :)
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.2][RC] PhpBB Directory

Post by ErnadoO »

Former Administrator && MOD team leader on phpbb-fr.com
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [3.2][RC] PhpBB Directory

Post by noth »

hoohoo !! thank you :D and a correction

the new release specified by Ernadoo above works fine on 3.2.2

the original 3.1 version appears to work fine on 3.2.2 but note the Notifications are different ;)
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [3.2][RC] PhpBB Directory

Post by donsenilo »

I'm soooooooo stupid !!! :shock:

I've downloaded your ext from github and now I can't activate it anymore ...
"The selected extension can not be activated. Please check the prerequisites that are necessary for the extension."

I use 3.2.2, PHP7.1 and allow_url_fopen is ON
User avatar
franki63
Registered User
Posts: 10
Joined: Mon Feb 18, 2008 9:54 am
Location: NRW (Germany)
Contact:

Re: [3.2][RC] PhpBB Directory

Post by franki63 »

I have the same problem. For me the problem lies with the composer.json

Code: Select all

"E1379/speaking-url": "dev-master"
ernadoo\phpbbdirectory\migrations\v20x\add_cat_route_field.php

Code: Select all

public function rewrite_cat_name()
	{
		$slug = new \E1379\SpeakingUrl\SpeakingUrl();

		$sql = 'SELECT cat_id, cat_name FROM ' . $this->table_prefix . 'directory_cats';
		$result = $this->db->sql_query($sql);

		while ($row = $this->db->sql_fetchrow($result))
		{
			$sql = 'UPDATE ' . $this->table_prefix . 'directory_cats' . '
				SET cat_route = "' . (string) $slug->getSlug($row['cat_name'], array('lang' => $this->config['default_lang'], 'symbols' => true)). '"
				WHERE cat_id = ' . (int) $row['cat_id'];
			$this->db->sql_query($sql);
		}
	}
Sorry for my english :oops:
LG Franki
Locked

Return to “Abandoned Extensions”