|
Haven't registered yet? Do it here now!
|
Shawn
Joined: 07 Dec 2007 Posts: 25
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 10:03 pm Post subject: remote blogs with blank pages |
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 10:32 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
so, you tried with the both versions of the linking codes - php includes and curl and it didn't help?
if so, grab the index.php from the php includes version of the link codes,
open it with your text editor and remove the @ symbols you see on the start of some of the lines. Right after the opening php tag put this line of code:
error_reporting(E_ALL);
then save the file and upload it to your blog. Visit the blog url and see if you will get any error.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Shawn
Joined: 07 Dec 2007 Posts: 25
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 10:51 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Right, tried both ways and didnt work.
Tried removing the @ symbols in index.php and added that code and still nothing, but now I do get errors at least.
Notice: Undefined index: date in /home/removed/domain/public_html/blog/index.php on line 5
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/removed/domain/public_html/blog/index.php on line 5
Warning: include(http://domain.com/bo/boblogs/blog6.php?date=) [function.include]: failed to open stream: no suitable wrapper could be found in /home/removed/domain/public_html/blog/index.php on line 5
Warning: include() [function.include]: Failed opening 'http://domain.com/bo/boblogs/blog6.php?date=' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/removed/domain/public_html/blog/index.php on line 5 |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 10:57 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
ok, that tells php includes are disabled on the server where the blog is, so you need to use curl link codes.
Now, when and they don't work, there must be some other problem. To find it out, debug and that.
Grab the index.php with the curl codes, edit it with your editor and on bottom lines find:
curl_close($ch);
one line before that code put this code:
echo curl_error($ch);
save, upload and open blog.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Shawn
Joined: 07 Dec 2007 Posts: 25
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 11:10 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
blank page after doing that |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Aug 20, 2009 11:55 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hmm, maybe there isn't curl available on that server.
make a phpinfo() page and search to see if curl is available..
if it doesn't help, pm me ftp access to the blog so i can go and resolve the issue myself.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |