Permalink module: permanent short URLs for your albums and images

valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-12-21 16:27

you never have to post the smarty debug popup, it's not helpful for debugging.

error: [1146: Table 'gallery2.g2_permalinksmap' doesn't exist]

so there went something wrong during module installation.

maybe try to install it again.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-12-21 16:36

LFrank: for some reason, the table that Permalinks uses was not created on your DB. You can unable and then uninstall the Permalinks module and try to reinstall it. This will lose any permalinks you had previously created.

--
Gallery Remote developer

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-12-21 16:59

Strange - uninstalling, reloading it from CVS and reinstalling/activating - still no g2_permalinksmap table in my DB, nevertheless I see the permalinks entry in the admin menue (but clicking gives the error). I will remove and reinstall compeltely.

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-12-21 17:29

more strange - don't get a permalinksmap table if reloading the module from CVS.
Only after loading the permalinks-module from the nightly snapshot, I got it.
Seems to work now.

Thanks
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-12-22 07:02

Valiant, could it be that the CVS has some back-log? I've just made my mornings CVS update and saw errors popping replacing some files in the permalinks directory ...

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-22 12:37

yes, the nightly snapshots are newer than anonymous cvs. there's some delay. and paour and mindless are still working on fixing a few issues in the permalinks module, so files change in cvs.

 
donkasok

Joined: 2008-09-16
Posts: 21
Posted: Thu, 2008-09-18 04:45

Hi,

I have a problem encountering while integration gallery 2 with drupal .Everything was working fine before i enabled url rewrite.Now i am able to access all my gallery from gallery side using URL http://xxx.net/gallery2 .In drupal it is showing gallery main page . But once i click the albums inside the gallery page 'Page not found error is showing'.

From Gallery side, http://xxx.net/gallery2/main.php is the main page of gallery and from drupal side
http://xxx.net/gallery is the gallery main page. Both are accessible.

I am able to access my album called photo gallery from gallery side. The url is showing http://xxx.net/gallery2/v/Photo+Gallery/. But In drupal side if i click on the album named photo gallery its showing error The requested page could not be found. The url is showing http://xxx/v/Photo+Gallery/

Please help me clear this issue.
Don.K.Asok