mysql_fetch_object()

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Wait a moment, what's going on here?
Now I try and start from scratch and the installation instructions seem incorrect.

It says to first upload
* the file data.php in the directory inc/
* the directory attachments/
* the directory data/
* the directory images/
* the directory pdf/
* the directory xml/
but the ones I put in bold are not even in the zip file. And they weren't in the zip file when I was initially trying to just update. Do these files matter? The documentation needs updating again, if not.




===================




EDIT:
after ignoring those and just putting up what I have, I get an error in the same area that my original error was located:
Parse error: syntax error, unexpected T_LOGICAL_OR in /XXXXXXXXXX/inc/PMF_DB/Mysql.php on line 120
(The first error was line 119)

Here is the whole portion of that page:
line 117 function fetch_object($result)
line 118 {
line 119 return mysql_fetch_object($result);
line 120 or die(mysql_error())
line 121 }
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the code is looking like that:

Code: Select all

    function fetch_object($result)
    {
        return mysql_fetch_object($result);
    }
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

ok - I was able to reinstall it all.
It's still using the new templates, ill have to play with them...

but now my problem is restoring a backup.

I try to load the data backup file and it says:
"This does not seem to be a backup of phpmyfaq."
The file ends in .sql. And I do that through the backup tab in the admin area, right?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

if you send me your backup, I'LL convert it to the 2.0 version.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

if you send me your backup, I'LL convert it to the 2.0 version.

bye
Thorsten
Thank you very much. I emailed them to you yesterday -- keep an eye out, in case it's filtered as junk mail.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I received your mail... give me some days to do that. You had a 1.5.7 version, right?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

I received your mail... give me some days to do that. You had a 1.5.7 version, right?

bye
Thorsten
Yes, thank you!
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

I received your mail... give me some days to do that. You had a 1.5.7 version, right?

bye
Thorsten
Well it's been nearly a month and I've sent a few reminders, but I've not gotten my files back. What is going on?
Post Reply