Problem with Base64 plugin

2 views
Skip to first unread message

aaro...@gmail.com

unread,
May 8, 2008, 10:32:49 PM5/8/08
to Php Object Generator
Hi there,
I've just posted a new website for a client, and ran into a bit of a
snag: I'd written the application in PHP5, but the client's hosting
company is still on PHP4! Bastards! Anyway, I thought 'no problem',
and regenerated all the objects to go with PHP4. Of course, as we know
I can no longer run the application on my dev machine running PHP5. I
can live with that. But I need to have it working correctly on the
live server, and I can't get the Base64 plugin to work. The whole site
is encoded now! :-P

I try to install the plugin through Setup, and I get this message:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in [...filepath...]/objects/class.database.php on line
60

I'm kind of at wit's end right now, and probably -- hopefully! --
missing something obvious. Any thoughts?

Cheers,
Aaron.

Aaron Vegh

unread,
May 8, 2008, 10:42:03 PM5/8/08
to Php Object Generator
Okay, I'm going to answer my own question, sort of.

Out of desperation, I "tricked" Setup.

1. With Configuration showing encoding=0, I ran setup. No problem!
2. I set encoding=1.
3. Back in Setup, I continue from the successful setup. Boom! I'm into
the Manage Objects tab, and I can see all my objects' data!

So is this an error in the diagnostics?

Thanks,
Aaron.

--
Aaron Vegh, Principal
Innoveghtive Inc.
P: (647) 477-2690
C: (905) 924-1220
www.innoveghtive.com
www.website-in-a-day.com

Crispy

unread,
May 9, 2008, 8:35:15 PM5/9/08
to Php Object Generator
Hi Aaron,

To get the base64 plugin to install, you need the encoding to be 0 and
then switch it back to 1 after it installs. I've had that problem too,
and found the solution somewhere on the POG site I think. I suppose it
is a weak point for the setup.

-Mark

On May 8, 8:42 pm, "Aaron Vegh" <aaronv...@gmail.com> wrote:
> Okay, I'm going to answer my own question, sort of.
>
> Out of desperation, I "tricked" Setup.
>
> 1. With Configuration showing encoding=0, I ran setup. No problem!
> 2. I set encoding=1.
> 3. Back in Setup, I continue from the successful setup. Boom! I'm into
> the Manage Objects tab, and I can see all my objects' data!
>
> So is this an error in the diagnostics?
>
> Thanks,
> Aaron.
>
> On Thu, May 8, 2008 at 10:32 PM, aaronv...@gmail.com
Reply all
Reply to author
Forward
0 new messages