CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Wordpress Profiles- /DAO/.listAll.php
Pages: [1]

Author Topic: Wordpress Profiles- /DAO/.listAll.php  (Read 779 times)

benjee

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 3.3.2
  • CMS version: Wordpress
  • MySQL version: -
  • PHP version: -
Wordpress Profiles- /DAO/.listAll.php
March 06, 2013, 06:27:37 am
Hi all,

We're having some trouble getting a profile form (used for email signups) to submit properly from our homepage-

http://orchidproject.org/ (click on 'subscribe to email updates' on the right hand side)

We've tried setting the form action to both
http://orchidproject.org/contact-us/?page=CiviCRM&q=civicrm/profile/create&gid=11&reset=1 and
http://orchidproject.org/?page=CiviCRM&q=civicrm/profile/create&gid=11&reset=1

In the first case, it ignores the postURL value (http://orchidproject.org/?confirm=true) , takes the visitor to http://orchidproject.org/contact-us/?page=CiviCRM&q=civicrm/profile/create&gid=11&reset=1 and displays the following errors:
Code: [Select]
Warning: require(CRM/Core/DAO/.listAll.php) [function.require]: failed to open stream: No such file or directory in /home/orchid/public_html/wp-content/plugins/civicrm/civicrm/api/v3/utils.php on line 272

Warning: require(CRM/Core/DAO/.listAll.php) [function.require]: failed to open stream: No such file or directory in /home/orchid/public_html/wp-content/plugins/civicrm/civicrm/api/v3/utils.php on line 272

Fatal error: require() [function.require]: Failed opening required 'CRM/Core/DAO/.listAll.php' (include_path='.:/home/orchid/public_html/wp-content/plugins/civicrm/civicrm/:/home/orchid/public_html/wp-content/plugins/civicrm/civicrm//packages:.:/opt/php53/lib/php') in /home/orchid/public_html/wp-content/plugins/civicrm/civicrm/api/v3/utils.php on line 272
However, the profile information seems to be submitted.

In the second case, the page reloads to http://orchidproject.org/?page=CiviCRM&q=civicrm/profile/create&gid=11&reset=1, and the profile information isn't submitted.


We've tried updating CiviCRM to 4.2.8, as well as updating the standalone profile html code to include all of the hidden fields from more recent versions. Can anyone else shed some light on what might be going wrong?

Thanks!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Wordpress Profiles- /DAO/.listAll.php
March 07, 2013, 04:43:35 am
Can you check if the file

CRM/Core/DAO/.listAll.php

is in your CiviCRM code? Should be in

wp-content/plugins/civicrm/civicrm/CRM/Core/DAO/.listAll.php
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

benjee

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 3.3.2
  • CMS version: Wordpress
  • MySQL version: -
  • PHP version: -
Re: Wordpress Profiles- /DAO/.listAll.php
March 11, 2013, 03:27:57 am
Hi Hershel,

Thanks for pointing me in the right direction, now fixed.

What seems to have been happening is if you unzip the installation archive on a Windows computer before uploading it via FTP, some FTP clients will ignore and not upload files that begin with a . such as .listAll.php

Overcame this by uploading the whole zip and then uncompressing it via the CPanel file manager.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Wordpress Profiles- /DAO/.listAll.php

This forum was archived on 2017-11-26.