Hi.
When I try to upload photo i got this error:
Fatal error: Using $this when not in object context in /home/bodymen/public_html/dating/upload_media.php on line 177
Help please to fix.
Thanks advance.
Hi.
When I try to upload photo i got this error:
Fatal error: Using $this when not in object context in /home/bodymen/public_html/dating/upload_media.php on line 177
Help please to fix.
Thanks advance.
Last edited by BodyMen; 02-18-2007 at 11:45 PM.
May I ask, what version of PHP you are using?
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Originally Posted by Smoge
I use PHP version 5.2.1
It appears that BoonEx is developing with PHP 4.x - as we do - or they would have (I assume) caught this error (also assuming your install is correct)
In PHP 5.x - there are changes to how classes work compared to PHP 4.x
I can confirm that Dolphin 5.6.1 in PHP 4.x photo upload works fine.
Sorry - I don't have an installed copy of PHP 5.x to test / troubleshoot this with.
You can find more information about this error in Google:
http://www.google.com/search?hl=en&q...=Google+Search
If you need this fixed, we could access your PHP 5.x based server and fix it for you. If you need/want this - send me a PM.
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Umm you just told the dude you dont have a copy of 5.X to work with but you offered to fix it for him if he PMs you? I smell a sales pitch here? If you dont have a 5.x copy to work with then how ya gonna fix it? Cmon, dudes we know you got the answer to this
I got the same prob to and need this fixed but not at the sake of crap load of cash, id rather can the project first. A bigger error and I could understand but a line of code, cmon...
Originally Posted by Smoge
Ahh... Dude - this is my freaking site - I am the admin here - so I can sales pitch all I want.
I don't run 5.x of PHP - we develop under 4.1.x - there are good reasons for doing so.
It's not my freaking fault he wants to run under php 5.x and on top of that use Orca - which generally sucks.
Bodymen and I talk in MSN - we sort of know each other... so I offered to help with this orca problem - but only spend an hour on it - since all bets are off with PHP 5.x and crappy Orca.
You cmon......
Smoge
Originally Posted by Wizzard308
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Originally Posted by Wizzard308
Duh! Do it on his server!we could access your PHP 5.x based server and fix it for you
cmon..... I think I said that.
Smoge
Last edited by Smoge; 02-22-2007 at 12:55 PM.
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
This kind of reminds me of a time when I saw somenes avatar turn into a photo of a piece of crap . . . oh my god - I laughed my arshhh off that day!!!
Anyone who has a banana can eat it!
From 0 to 6.0 in 3.5
Well dont get me wrong, didnt mean to be offensive but just seemed like the dudes legitimate question was tossed out the window then BAM comes the pitch. Dunno maybe im just so pissed off at Doplin 5.2 right now im getting a lil edgy, sorry
No problem...
But if you look at my original answer I said:
General Comment About BoonEx Testing
It appears that BoonEx is developing with PHP 4.x - as we do - or they would have (I assume) caught this error (also assuming your install is correct)
Suggestion It Is A PHP 5 Problem
In PHP 5.x - there are changes to how classes work compared to PHP 4.x
Confirm The Code Works OK In PHP 4
I can confirm that Dolphin 5.6.1 in PHP 4.x photo upload works fine.
Stated I Don't Use PHP 5 For Development
Sorry - I don't have an installed copy of PHP 5.x to test / troubleshoot this with.
Gave A Suggestion For Him To Find The Answer
You can find more information about this error in Google:
http://www.google.com/search?hl=en&q...=Google+Search
Offer To Help - AKA Pitch
If you need this fixed, we could access your PHP 5.x based server and fix it for you. If you need/want this - send me a PM.
All in all - I think it was a pretty fairly balanced answer.
So maybe you are edgy. LOL!
No harm done!
Peace!
Smoge
Originally Posted by Wizzard308
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks