Jump to content

[SOLVED] News Posting Script Bug


ryld

Recommended Posts

unkwntech:

 

You are correct.  The production server is a Linux box.  As far as an error log, I have no idea where it's located on Win2k3.

 

Running Linux as a server was so much easier...everything worked exactly like it was supposed to and there was no complex configuration...

 

DarkWater:

 

I don't see why that would be relevant...even if the production box has short tags enabled (and thus works), I should be able to use full tags on this server and have it work.

Ok guys...I haven't actually tried posting yet, but...magic just happened.  I enabled short tags (even though I'm not using short tags), restarted IIS, and it (appears to work).  I'm not sure if it (appears to) work because I restarted IIS or because I changed to short tags...I'll do some more troubleshooting in just a minute.

Guys:

 

Thank you for your continued help.  I found the problem.  It was a combination of two things.

 

Problem #1: Using short tags on a server on which short tags were not permitted. I didn't know they were off by default.  :-[  Changing tags to long fixed part of this problem.

 

Problem #2: I modified this script's layout quite a bit from my original script, and decided to remove "text2" from being implemented.  Its original function was to serve as a type of "Read More..." service, but I decided that synopses were not a requirement for the client's web site.  However, when I decided to remove this option from the layout and remove it as a column in MySQL, I did NOT remember to remove the "text2" entries in the actual PHP code.

 

You guys are great, and extremely responsive!  Thanks a ton!

DarkWater:

 

Yes, I do.  =)  I've learned my lesson.  Of course, I'm not much of a web developer so I don't think this is going to be that important, but if I ever touch PHP after this job I'll know.  =D  Thanks again!

 

Alright, no problem. ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.