Go Back   oOple.com Forums > General > The PlayGround > oOple Talk

Reply
 
Thread Tools Display Modes
  #21  
Old 19-06-2012
Big G's Avatar
Big G Big G is offline
*SuPeRsTaR mEmBeR*
 
Join Date: Apr 2009
Location: Lincoln
Posts: 2,696
Send a message via MSN to Big G Send a message via Skype™ to Big G
Default

I think I prefer it. it's not so obvious I'm on oople in work if someone glances at my screen
Reply With Quote
  #22  
Old 20-06-2012
jimmy's Avatar
jimmy jimmy is offline
Administrator
 
Join Date: Oct 2005
Location: Huddersfield
Posts: 10,047
Blog Entries: 6
Default

Sorry everyone

1and1 are crap! I emailed them right away to see what was going on - it's nearly 48 hours now and I've still not received a reply to 3 emails. I finally found the problem, one of there many spam emails wasn't spam and was in fact telling me the server was going to be upgraded with new versions of apache and some other stuff.
I have spent hours tonight trying to work around it but have to admit I've no idea what I'm doing

I've tried to get my ancient php includes working but failed - and have had to change to a more 'correct' way of doing the includes:

<?php include $_SERVER['DOCUMENT_ROOT'] . '/rc/includes/header.php'; ?>

Instead of:

<?php include("http://www.oople.com/rc/includes/header.php"); ?>


.....

It works now - but the hard coded pages on the rest of the site won't show certain things like the header or some buttons on big reports, until I've downloaded everything, replaced all the code and uploaded the files again.

I'll try again tomorrow to figure out how to get the old style includes working - as a quick fix.
__________________
If your PM doesn't at first succeed - try, try again. I'll reply in the end, honest.
Reply With Quote
  #23  
Old 20-06-2012
JCJC's Avatar
JCJC JCJC is offline
Mad Member
 
Join Date: Nov 2005
Location: Oxon
Posts: 1,662
Default

Quote:
Originally Posted by jimmy View Post
Sorry everyone

I've tried to get my ancient php includes working but failed - and have had to change to a more 'correct' way of doing the includes:

<?php include $_SERVER['DOCUMENT_ROOT'] . '/rc/includes/header.php'; ?>

Instead of:

<?php include("http://www.oople.com/rc/includes/header.php"); ?>

.....
Oh yea, of course........ means nothing to me, but nice to see the page back as it was, don't envy you the extra work jim, should be out in the sunshine, not much about at 4am when you posted this tho.
Reply With Quote
  #24  
Old 20-06-2012
lordnikon lordnikon is offline
Senior Member
 
Join Date: Apr 2011
Posts: 470
Default

Jimmy, I'm not sure you can, depending on the version of Apache they have upgraded you too.

You could try setting an 'ABSPATH' but you will still have to remove the hardcoded url's to replace with 'ABSPATH'

If you use notepad ++ you should be able to do a find/replace to speed things up a little, you will have to set the search more to; Search Mode: Extended (\n, \t, etc)
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
oOple.com