UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 31-08-2008, 01:19
Junior Member
 
Join Date: Aug 2008
Posts: 25
Default PHP strangest error i've ever seen [ Solved ]

Ok, i have witness the most unusual (logic error) in php ever but i am unsure if its because of my Linux server getting confused with my method of php.

It used to work on local host but then everything changed on this server. Sadly I do not know what is causing this problem or how logically it could occur in the first place so i can only explain what is happening then your as well informed as me on my own problem here.


Basically i have a page which includes a file lets say called A this A file then includes another file called A2.

Now its Main inc > A inc > A2

On A2 firstly the result on the script comes out as a standard error i put in when the if statement fails... but for last 3 days it was working fine.

But as it went wrong i decided to find out what went wrong so i added random chars down the script to see which if statements the script when into.. now when i saved the file (and i checked my directory it did save it and it currently is still there), even though i edited the html....on my browser when viewing the page, the html didn't change at all.. no added characters appeared it was like i never edited the script.

So then some one said it might be memory cached but ALL my other scripts update instantly except this one script which will not change... even on line 1 i put die; and the script would not die! how ever the script is being included and read otherwise there would be no output but there is, because around line 400 odd it echo's the table..

Imagine this as the script:
1: die; // this is skipped and is new to the script added in less than one day ago
.// echo error here if user failed validation (this displays and is not new to the script)
.
413: // table here (this displays and is not new to the script)


It shows the outputs, but skips the die which just well logically this makes no sense so my only guess is Linux is not reading php properly some how..due to only recent events and only on this one script...

So yeah im really desperate for some one to theorize a suggestion for me to figure out this problem, because I'm totally out of ideas.

Last edited by SirChick; 31-08-2008 at 23:17.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 31-08-2008, 03:14
eUK-Martin's Avatar
Windows System Administrator
 
Join Date: Nov 2005
Location: Earth
Posts: 465
Default

Have you placed a ticket for this..? If yes, then do let us know the ID.

We will not be able to help unless we know your account details and the location of your files.
__________________
Martin
Windows System Admin.


Windows VPS Hosting - Windows Dedicated Server - Web Hosting Tutorials

Email :: windows @ eUKhost.com AND support @ eUKhost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 31-08-2008, 13:00
Junior Member
 
Join Date: Aug 2008
Posts: 25
Default

Ok, sorry didn't know that, shall make a ticket
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 31-08-2008, 20:06
eUK-Martin's Avatar
Windows System Administrator
 
Join Date: Nov 2005
Location: Earth
Posts: 465
Default

Hii..

Did you manage to get this sorted.. Please let us know the ticket ID if it is still unresolved.
__________________
Martin
Windows System Admin.


Windows VPS Hosting - Windows Dedicated Server - Web Hosting Tutorials

Email :: windows @ eUKhost.com AND support @ eUKhost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 31-08-2008, 23:16
Junior Member
 
Join Date: Aug 2008
Posts: 25
Default

Yes i had it sorted, i had to remove the include having an include which for some reason the server did not agree with, so i had to change the structure and now it works smoothly. Thank you!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-09-2008, 00:02
eUK-Martin's Avatar
Windows System Administrator
 
Join Date: Nov 2005
Location: Earth
Posts: 465
Default

Thank you for keeping us updated.
We are glad it has been sorted.
__________________
Martin
Windows System Admin.


Windows VPS Hosting - Windows Dedicated Server - Web Hosting Tutorials

Email :: windows @ eUKhost.com AND support @ eUKhost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:10.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service