[ php-blog-Patches-1697590 ] Incorrect path in sqlite error message

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Patches item #1697590, was opened at 2007-04-10 13:02
Message generated for change (Comment added) made by garvinhicking
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542824&aid=1697590&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
>Priority: 1
Private: No
Submitted By: Thijs Kinkhorst (kink)
>Assigned to: Garvin Hicking (garvinhicking)
Summary: Incorrect path in sqlite error message

Initial Comment:
Hi,

include/db/sqlite.inc.php can output the following message:
"Unable to open \"{$serendipity['serendipityPath']}$dbName.db\" - check permissions (directory needs to be writeable for webserver)!"
which is not correct because some lines above that, the path can also be set to "S9Y_DATA_PATH . $dbName . '.db'". The correct string to use is this:

"Unable to open \"$dbfile\" - check permissions (directory needs to be writeable for webserver)!";

Patch is attached.

----------------------------------------------------------------------

>Comment By: Garvin Hicking (garvinhicking)
Date: 2007-04-10 13:23

Message:
Logged In: YES 
user_id=473563
Originator: NO

Thanks a lot for your patch! I committed this to our SVN trunk.

Best regards,
Garvin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542824&aid=1697590&group_id=75065

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.