These forums are provided for community interactions only. For official support please submit a support ticket.

You are not logged in.

  • Index
  •  »  / API
  •  » Site suddenly stopped working; API scripts returning errors

#1 2010-09-14 04:52:30

mlandfield
New Member
Registered: 2008-03-25
Posts: 18

Site suddenly stopped working; API scripts returning errors

All of a sudden a site I built over a year and a half ago has stopped working. 
The site uses Slideshow Pro Director to power a group of slideshows, but I am using PHP scripts connecting to the API, rather than Slideshow Pro for Flash, to retrieve the images from Director.

When I run any of the existing API scripts in the browser, I am getting these, or similar errors:
****

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Space required after the Public Identifier in /home/content/m/o/c/mochica/html/director_api/classes/DirectorPHP.php on line 162

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : SystemLiteral " or ' expected in /home/content/m/o/c/mochica/html/director_api/classes/DirectorPHP.php on line 162


****

I've updated both my Director install, and the DirectorAPI files to the latest versions. 

Clearly something is wrong with the API scripts that I have, but I can't see what.

This is a NEW problem-- this site has been up and running for more than a year without a hitch.

Please help with suggestions-- this site is heavily trafficked, and every minute is precious.

Thank you!

Offline

 

#2 2010-09-14 18:36:09

mlandfield
New Member
Registered: 2008-03-25
Posts: 18

Re: Site suddenly stopped working; API scripts returning errors

An additional note--

To see the errors I'm talking about, follow this url:

http://www.piopio.com/director_api/images.php

Offline

 

#3 2010-09-14 19:42:33

bdaily
Director director
From: Nixa, MO
Registered: 2006-03-15
Posts: 11841
Website

Re: Site suddenly stopped working; API scripts returning errors

Can you email me your API script so I can see what is going on?


Brad Daily
support.director[at]slideshowpro.net

Offline

 

#4 2010-09-14 21:45:00

mlandfield
New Member
Registered: 2008-03-25
Posts: 18

Re: Site suddenly stopped working; API scripts returning errors

Yup.  I will send right now.

Offline

 

#5 2012-02-20 15:19:12

briskday
New Member
Registered: 2007-04-06
Posts: 13

Re: Site suddenly stopped working; API scripts returning errors

did you get this fixed? I've started to get the same errors

Offline

 

#6 2012-02-20 15:33:27

briskday
New Member
Registered: 2007-04-06
Posts: 13

Re: Site suddenly stopped working; API scripts returning errors

nevermind, it was this line it didn't like:
$director->cache->set('131275', '+180 minutes');

Offline

 
  • Index
  •  »  / API
  •  » Site suddenly stopped working; API scripts returning errors

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson