Search found 4 matches

by goodevilgenius
Thu Nov 15, 2007 3:12 pm
Forum: General discussions
Topic: "Access Denied" to database when using fetchEntrie
Replies: 4
Views: 2026

garvinhicking wrote:Hi!

Try to add a "global $serendipity" to your getAllVideos() function?

Regards,
Garvin
Thank you so much! That did it!
by goodevilgenius
Thu Nov 15, 2007 6:26 am
Forum: General discussions
Topic: "Access Denied" to database when using fetchEntrie
Replies: 4
Views: 2026

Ok, I figured out some more about the problem. After some digging around, I discovered that for some reason $serendipity is not visible in serendipity_db_connect() (which is where the problem occurs in mysql.inc.php), even though the first line in the function is "global $serendipity." It's also ...
by goodevilgenius
Thu Nov 15, 2007 5:03 am
Forum: General discussions
Topic: "Access Denied" to database when using fetchEntrie
Replies: 4
Views: 2026

The same problem occurs if it's in the same directory as serendipity (removing the chdir commands, of course), so it's not a problem with being in a different directory.
by goodevilgenius
Thu Nov 15, 2007 4:59 am
Forum: General discussions
Topic: "Access Denied" to database when using fetchEntrie
Replies: 4
Views: 2026

"Access Denied" to database when using fetchEntrie

On my website, I'd like one of my main pages to be able to grab blog entries from a specific category, and process them. The script that fetches the entries is located in the parent directory of s9y. s9y is locate in a directory called .serendipity.
Here's the part of my code that's giving me ...