Re: Digest for php-form-builder-class@googlegroups.com - 2 Messages in 1 Topic

55 views
Skip to first unread message

Michel Cote

unread,
Jun 19, 2013, 8:45:14 AM6/19/13
to php-form-bu...@googlegroups.com
Thanks Joe!

I had to change line 57 of Form.php to point to my document root.  The PFBC directory is nested inside 2 directories so instead of removing the leading / (which incidently did not work) I made sure that it pointed to my root and then followed the proper path.

You have to bear in mind that this Resources path is translated into an HTTP url, since I have aliases on my web server I had to make sure the Resources path translated well into a URL.


2013/6/12 <php-form-bu...@googlegroups.com>

Group: http://groups.google.com/group/php-form-builder-class/topics

    Joe <bacc...@gmail.com> Jun 11 05:49PM -0700  

    Michael,
     
    Same thing was happening to me. I banged my head against it for quite a
    while. I don't remember exactly what I changed, but it fixed it. I believe
    it was a file inclusion issue on the JS. Check your Element/TinyMCE.php
    file and see if the script call has a slash in front of it. If it doesn't,
    try adding it and see if that makes any difference. It isn't just the
    editors. The sort element on your link doesn't work, either. That seemed to
    be a hint to me that the script file wasn't being called correctly.
     
    Good luck.

     

    Joe <bacc...@gmail.com> Jun 11 05:56PM -0700  

    It occurs to me after I posted my response that while the theory was sound,
    the execution was flawed. If the sort doesn't work, it doesn't have
    anything to do with those two fields. Instead, look in your Form.php around
    line 57 for the following:
     
    $this->resourcesPath = "/PFBC/Resources";
     
    Kill that leading slash and see if it makes any difference. If you're
    running a test site from a subdirectory, that's obviously going to cause
    problems.
     
    Sorry about that.
     
    On Tuesday, June 11, 2013 7:49:02 PM UTC-5, Joe wrote:

     

You received this message because you are subscribed to the Google Group php-form-builder-class.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "php-form-builder-class" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-form-builder-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Joe

unread,
Jun 24, 2013, 7:05:57 PM6/24/13
to php-form-bu...@googlegroups.com
My project is set up a little differently, so I'm glad you got it worked out. 
Reply all
Reply to author
Forward
0 new messages