Announcement

  •  » Beta testing
  •  » [resolved] Error "Db file path not found"

#1 2016-01-27 05:33:06

OC_boy
Member
2016-01-21
19

[resolved] Error "Db file path not found"

Hello

Although this is a not that much important error, I get Error "Db file path not found" when I follow below steps.

1- In admin.
2-Click on Tools, Site Manager.
3- Click on /galleries/ link and notice the error.

Note that on my 2.7 version when I click on same link, it takes me to my homepage.

Piwigo version: Piwigo 2.8.0RC1
Operating system: Linux
PHP: 5.6.6 (Show info) [2016-01-26 23:30:51]
MySQL: 5.5.44-0ubuntu0.12.04.1-log [2016-01-26 23:30:51]
Graphics Library: External ImageMagick 6.3.3
Piwigo URL: http://persianimmigrants.com/piwigo/admin.php


Uploaded Images

Offline

 

#2 2016-01-27 05:39:50

OC_boy
Member
2016-01-21
19

Re: [resolved] Error "Db file path not found"

Sorry posted too soon,

I had some lines in .htaccess file, removing it solved it

<IfModule mod_rewrite.c>
RewriteEngine on

## redirect <2.4 thumbnails hotlinks to i.php
RewriteRule ^upload/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-th.$3 [L]
RewriteRule ^galleries/(.*)/thumbnail/TN\-(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-th.$3 [L]

## redirect <2.4 high-def hotlinks to original file
RewriteRule ^upload/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ upload/$1/$2.$3 [L]
RewriteRule ^galleries/(.*)/pwg_high/(.*)\.([a-z0-9]{3,4})$ galleries/$1/$2.$3 [L]

## redirect <2.4 low-def hotlinks to i.php
RewriteCond %{HTTP_REFERER} !^http://(www\.)?persianimmigrants.com/pics/.*$ [NC]
RewriteRule ^upload/(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/upload/$1/$2-me.$3 [L]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?persianimmigrants.com/pics/.*$ [NC]
RewriteRule ^galleries(.*)/(.*)\.([a-z0-9]{3,4})$ i.php?/galleries/$1/$2-me.$3 [L]
</IfModule>

Offline

 
  •  » Beta testing
  •  » [resolved] Error "Db file path not found"

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact