Open GoogleCodeExporter opened 9 years ago
Questions:
1. What version of pfbc are you using?
2. Do you have an internet connection? There are resources (jQuery, jQueryUI,
etc) that are loaded from Google's CDN that require an internet connection.
- Andrew
Original comment by ajporterfield@gmail.com
on 13 Apr 2011 at 5:44
[deleted comment]
I am using 1.1.4 version of pfbc.And i do have internet connection however i
have already included jquery file in my localhost.so i dont think internet
connection data rate(BW) is making any difference
Original comment by sauravsh...@gmail.com
on 15 Apr 2011 at 11:33
I am having a similar issue. I have tracked it down to
a line in the header that is rendered. It takes up to 2 mins to show the form.
Warning:
file_get_contents(http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/smo
othness/jquery-ui.css) [<a
href='function.file-get-contents'>function.file-get-contents</a>]: failed to
open stream: HTTP request failed! in
/var/www/jobs/functions/php-form-builder-class/class.form.php on line 2276<br />
On the layout example page this occurs 3 times in response to the GET request.
When i paste this in the browser, it works fine.
Original comment by Ryan...@gmail.com
on 20 Apr 2011 at 12:40
Hi Ryan,
I am assuming that your webserver is unable to make a request to the internet
using the file_get_contents() php function.
Possibly because you have to use a proxy to access the internet, which your
webserver is not setup to use?
Can you confirm that your webserver is able to access the internet?
If that is the way it has to be, you will have to get the resources that the
class downloads with file_get_contents() and change the links to point to your
local resource.
Really the links to these files should only be within the page source, so the
browser can fetch them and use its cache etc, however the 1.x series of the
form builder downloads some of these resources every request so it can merge
them into a single file. The 2.x series that is about to be released no longer
does this.
Original comment by moncojhr@gmail.com
on 21 Apr 2011 at 4:16
Original issue reported on code.google.com by
sauravsh...@gmail.com
on 13 Apr 2011 at 4:56