News & Updates Check this forum for official updates, new release information, and site developments.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-14-2008, 12:43 PM   #31 (permalink)
Member
 
Join Date: Dec 2007
Posts: 91
Phantom
Default Re: 0.5.3 Public Beta Testing

I found an error with this beta and the myspace plugin. There are conflicts with the headers information cuased by this part in myspace.com.php

Code:
// Change our user agent for homepage to show Friend Updates properly in IE
// Thanks to almecho: http://www.glype.com/forums/index.php?topic=152.0
if( stripos($toLoad,'home.myspace.com/index.cfm?fuseaction=user') )
  $toSet[CURLOPT_USERAGENT] = str_replace('compatible','Windows',$toSet[CURLOPT_USERAGENT]);

The Errors:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/plugins/myspace.com.php:2) in /home/usr/public_html/eyeglass.php on line 548

Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/plugins/myspace.com.php:2) in /home/usr/public_html/browse.php on line 548

Phantom is offline
Country: Canada
 
Old 02-15-2008, 05:39 AM   #32 (permalink)
Junior Member
 
Join Date: Dec 2007
Posts: 24
almecho
Default Re: 0.5.3 Public Beta Testing

Originally Posted by Phantom
The Errors:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/plugins/myspace.com.php:2) in /home/usr/public_html/eyeglass.php on line 548

Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/plugins/myspace.com.php:2) in /home/usr/public_html/browse.php on line 548
i've just done a stock 0.5.3b install and can't reproduce this under either IE or FF... what is 'eyeglass.php' that is referred to in that error, as it's not part of the standard installation and is most likely causing the problem...

Nick,

I am seeing a separate problem though when browsing myspace although I expect it's popping up in more places than just myspace, is the error 'Unable to load URL. Return to index.'

I'm assuming this is related to the new method of populating $toLoad and $flag, although I haven't dug any deeper than that...
almecho is offline
Country: Australia
 
Old 02-16-2008, 11:34 AM   #33 (permalink)
Senior Member
 
Join Date: Aug 2007
Posts: 313
Nick
Default Re: 0.5.3 Public Beta Testing

You don't need to know any PHP to debug most PHP errors. As it says, the problem is the headers cannot be sent because there has already been output from myspace.com.php on line 2. The default myspace plugin does not send output at all.

There is actually a problem there but I doubt it's your problem as it would have generated another error message (notice: undefined index) that you didn't post. If the user did not send a user-agent string to the proxy script then $toSet[CURLOPT_USERAGENT] will not have been set. I've now updated the plugin to check for the existence of a user agent before attempting to alter it.

Originally Posted by almecho
I am seeing a separate problem though when browsing myspace although I expect it's popping up in more places than just myspace, is the error 'Unable to load URL. Return to index.'
I can't do anything if I can't reproduce the error. What settings do you have?
Nick is offline
Country: United Kingdom
 
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
0.6 beta 3 available Nick News & Updates 43 12-30-2009 10:46 AM
0.5.2 Public Beta Testing Nick News & Updates 25 01-29-2008 01:35 PM
New release system - beta testing? Nick News & Updates 6 01-23-2008 01:54 PM
glype manager beta testing Nick News & Updates 15 01-14-2008 09:08 AM
0.4 beta now available Nick News & Updates 2 09-11-2007 03:29 PM


All times are GMT -5. The time now is 12:39 AM.
© 2006-2010 Glype. All Rights Reserved.