473,468 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Unexpected $end error only on local server

This is the strangest thing. On my local beta server (WinXP Pro SP3,
PHP 5.2.3), I am getting an unexpected $end. On the production server,
I am not. The files are identical. Just for shits and giggles, I made
a new folder on my local machine, copied all the files from the
production server, opened it, and again got the same thing. The
production server is running version 4.4.7. So I thought, aha! - older
version of PHP. So I opened up an account at a free hosting service
([http://www.000webhost.com/]), and uploaded the exact files there as
well. That server is running 5.2.6. There is no error on that server
either. So:

localhost - error
new folder on local host - error
production server - no error
000webhost server - no error

Does anyone have any idea why my local server would throw an error, and
the production server not? If want to see code, I will be happy to post
it.

TIA.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Sep 14 '08 #1
1 2127
Gazing into my crystal ball I observed Adrienne Boswell
<ar****@yahoo.comwriting in news:Xns9B1959018CBE1arbpenyahoocom@
69.16.185.250:
This is the strangest thing. On my local beta server (WinXP Pro SP3,
PHP 5.2.3), I am getting an unexpected $end. On the production
server,
I am not. The files are identical. Just for shits and giggles, I
made
a new folder on my local machine, copied all the files from the
production server, opened it, and again got the same thing. The
production server is running version 4.4.7. So I thought, aha! -
older
version of PHP. So I opened up an account at a free hosting service
([http://www.000webhost.com/]), and uploaded the exact files there as
well. That server is running 5.2.6. There is no error on that server
either. So:
Fixed.

I'm still not sure exactly where the error was, but I removed and
replaced things until the problem stopped occurring. I believe it might
have been somewhere on localhost where there was <? and not <?php doing
it.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Sep 14 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version...
3
by: Eric Anderson Vianet SAO | last post by:
hello all When i tried ´pg_dump -v -f dump.dmp dtbtransporte´ I got the error: pg_dump: restoring data for table tbdmovimento pg_dump: dumping out the contents of table tbdmovimento ...
13
by: Nigel J. Andrews | last post by:
This will be a little vague, it was last night and I can't now do the test in that db (see below) so can't give the exact wording. I seem to remember a report a little while ago about tsearch v2...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
1
by: CJM | last post by:
I've copied (& modified) some code from MSDN which uses a Repeater control, but I'm getting an error: Unexpected end of file looking for </HeaderTemplate> As far as I can see I've not made an...
0
by: davstar.f | last post by:
Hi folks, I have a problem where I copied the front end of an application to the local office server. If a user opens the front end they get an error : "Database is in an unexpected state;...
2
by: AB | last post by:
Hi to all, I have a problem about a importation of a file *.csv with SQL Server, through a bulk insert, called in a store procedure that a c# sw calls. This is the description of the error:...
3
by: AB | last post by:
Hi to all, I have a problem about a importation of a file *.csv with SQL Server, through a bulk insert, called in a store procedure that a c# sw calls. This is the description of the error:...
2
by: ryan0026 | last post by:
Hi im having a proble with this code, please can someone help it says unexpected error on line 5, event = Replace(Server.HTMLEncode(Request.Form("event")),"'","''") thanks in advance here is...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.