|
Haven't registered yet? Do it here now!
|
scoopyu
Joined: 04 Mar 2008 Posts: 9
|
|
|
|
|
|
|
Posted: Fri Jun 13, 2008 3:00 pm Post subject: problem with including links |
|
|
|
|
|
|
|
|
|
|
Hi
i have a problem
When i try to add PHP Include (REMOTE) code to my Wordpress or Blogs organizer blogs i get noting, no links show, just blank box where i expect links
Second option PHP CURL Include (REMOTE) work only with BO blogs and when i try to add this code to wordpres (in php widget or direct inside template via editor) i getting page with message
Code: | Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. |
I using dreamhost and have several version of wordpress 2.30, 2,31, 2.50, 2.51
When i point browser to link page for exp. http://xxblogger.com/lo/site_templates/site_2_4.php
page load but i cant include that page on my sites
Anyone can help me with this?
Thanks in advance |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Fri Jun 13, 2008 3:55 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hi there,
well, yes when remote php includes are disabled you should use the CURL version of the linking code.
i don't know why it doesn't work in your WP blogs, but definitely that error message isn't from LO. I suppose its not from WP but from the reason of those sites being on dreamhost and could be local server dns issue. has the LO install domain been on dreamhost before? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
scoopyu
Joined: 04 Mar 2008 Posts: 9
|
|
|
|
|
|
|
Posted: Fri Jun 13, 2008 10:27 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | has the LO install domain been on dreamhost before? |
i dont understand this question?
CURL version Work on this host for BO sites but dont work for wordpress sites
I have over 20 wordpress sites on this host |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Fri Jun 13, 2008 10:37 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
thats weird, but i don't see a reason it would not work when it works in BO or any other php file. Are you sure where you insert it in your WP, php code is allowed in there? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
scoopyu
Joined: 04 Mar 2008 Posts: 9
|
|
|
|
|
|
|
Posted: Sat Jun 14, 2008 10:38 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
of course
i was use and using linkex for links exchange
and they work great in widgets |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sun Jun 15, 2008 11:12 am Post subject: |
|
|
|
|
|
|
|
|
|
|
i see, well dunno why that happens really because as i said it makes no sense.
ok, try this.. what happens if you use the CURL code, but remove the url to the LO template and put http://www.yahoo.com
for example. Will it work properly or will show error again? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
fuhkinglou
Joined: 06 Jan 2009 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Jan 06, 2009 8:19 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Was this ever resolved?
I had the links organizer installed on my dedicated box at phatservers and wanted to include the remote links on my wordpress blogs hosted at dreamhost. I was getting the exact same issue. The links were actually showing up and everything if I put them in a simple php file but when I tried to include the LO PHP code into the sidebar it would not show up and when I did the CURL it returned "Server not responding" |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Jan 06, 2009 6:22 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, i really don't remember..
anyways, it is all about your WP install and if you have proper widgets or directly put the code in the sidebar.php file of the WP template. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
fuhkinglou
Joined: 06 Jan 2009 Posts: 4
|
|
|
|
|
|
|
Posted: Tue Jan 06, 2009 10:15 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | well, i really don't remember..
anyways, it is all about your WP install and if you have proper widgets or directly put the code in the sidebar.php file of the WP template. |
I wasn't using widgets on the blog. I was just trying to use the code in the sidebar. I made a php file with the template and it worked on the server. But it may be something to do with remote includes on dreamhost. I can try installing it on a blog that has widgets with that method. I guess thats next. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Jan 06, 2009 10:48 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
also try both the includes and curl version.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
fuhkinglou
Joined: 06 Jan 2009 Posts: 4
|
|
|
|
|
|
|
Posted: Fri Jan 09, 2009 7:29 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | well, i really don't remember..
anyways, it is all about your WP install and if you have proper widgets or directly put the code in the sidebar.php file of the WP template. |
So I just tried to do this on my dreamhost account and had the same results as the OP. Just doing the plain php include results on nothing getting posted.
The template is working just nothing is getting posted on the remote blogs located at dreamhost. The CURL results in the SERVER NOT RESPONDING error. Nothing happens.
I should say that the script is located on my dedicated server and not my dreamhost virtual server. When I included the Curl or local install of the template on a Wordpress blog on my dedicated server it works great.
So the question is what is the deal with Dreamhost? Is there a dreamhost work around? |
|
|
|
|
|
|
|
nurgle
Joined: 09 Jan 2009 Posts: 6
|
|
|
|
|
|
|
Posted: Fri Jan 09, 2009 12:38 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Try Rebuilding the template, I'm new to this software so I'm not sure the point of that, but when I did that the links showed up on the blog (using Remote php) |
|
|
|
|
|
|
|
fuhkinglou
Joined: 06 Jan 2009 Posts: 4
|
|
|
|
|
|
|
Posted: Fri Jan 09, 2009 4:19 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
According to the Dreamhost email I just received:
The also say:
Quote: | Getting around it
1. Just say no. Enabling allow_url_fopen is a terrible idea that exposes your website, and the websites of others on your shared server, to unnecessary risk.
2. If absolutely required, you can modify this setting by using your own customized php.ini or installing your own version of PHP and enabling it, although a cURL-based solution is recommended. (Note that DreamHost cannot provide support for either approach.) |
I did try rebuilding the templates and the file is generated locally just fine but does not appear on the dreamhost served sites. They suggest that cURL solution but it makes the server barf so I'm at a loss. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Jan 10, 2009 6:36 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
yes, when they say remote includes are disabled, then curl should be used. But if it gives error, there must be something else problemable on the server.
Best would be if you pm me url and pass to your LO admin and ftp access to the place where you try to display the trades, so i can go and see myself whats up _________________ 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
|
|
|
|
| |