Web Hosting Talk







View Full Version : PHP Link Script Problems


SimonMc
10-31-2004, 06:57 AM
I have a link building script that has been working like a dream up until yesterday.

The script runs in PHP but also has an option to run the output in HTML.

The script in this mode converts the link pages to HTML so the search engines love it a little more :)

Here is the problem I have. Yesterday I added a link and the php script and instead of adding to the HTML files or even recreating them with the new info...it wipped them all out and set the HTML file sizes to zero bytes. What a shock that was :)

Is it possible that the PHP script has hit it's limit for creating HTML files and now just falls over? It runs fine in PHP mode. The problem is only evident when converting the directory to HTML.

I am a little lost as the support for this product has not been good in the past either.

Any suggestions greatly received.

Simon

Jakiao
10-31-2004, 01:05 PM
Did any changes to your Apache web server or PHP installation occure since? Is this your server, or does someone else manage it? If it is the other of the two, the server administrator may have made changes to Apache or PHP which removed a tool you needed.

SimonMc
11-01-2004, 03:36 AM
Originally posted by Jakiao
Did any changes to your Apache web server or PHP installation occure since? Is this your server, or does someone else manage it? If it is the other of the two, the server administrator may have made changes to Apache or PHP which removed a tool you needed.

I asked that question but as far as they know nothing changed at their end.

The script is a bit flakey anyway to be honest. When it works it works well and does what I need it to do but when it breaks down it is hell to get support for it.

Hopefully someone who has done some integration work for me will take a look at it and fix i t if possible.

Simon

Burhan
11-01-2004, 03:49 AM
This could be a quota problem. If you are above your filesystem quota, all new files will be 0 bytes.

SimonMc
11-01-2004, 06:25 AM
Originally posted by fyrestrtr
This could be a quota problem. If you are above your filesystem quota, all new files will be 0 bytes.

That was an avenue that my host took but it turned out not to be the case. I have around 1-2gb spare capacity so it is not that as far as I can see.

Simon

Burhan
11-01-2004, 07:15 AM
Any errors in the apache logs?

xgoth3
11-01-2004, 01:07 PM
This makes me think about the syntax of your last link posted.
Maybe you got some unallowed characters so it is crashing the output of your script.

Try removing your last link and leave it as when it was working right.

This at least will let you know if the problem is that link, because of it increase your system file size or because of its syntax.