cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Cforms Not Apearing w/ Dashboard Tabs
February 27, 2008
4:08 am
gregory
Guest

I've found the problem.

 

I just didn't wait for my cache to clear after I removed the $admin condition. So it worked.

 

Thankyou.

April 15, 2008
3:55 am
Clint
Guest

For the record, I'm also having this same issue. I'd imagine it's a problem with my webhost though, as they are pretty useless.

I'm having difficulty locating that line of code to comment out however (I'm using version 8.2)

cfforms.php only has 1017 lines of code, and the code you mention is at line ~1921

Help?

Clint.

April 15, 2008
7:28 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Right, for v8.2, the line is 1008, for:

if ( $admin ) {

try

if ( true ) {
May 11, 2008
4:43 am
Yuda
Guest

Great site, excellent plugin.

Now if only I could get it to work… Wink

But I have a hunch what's might be going here, as I've encountered something similar with another plugin – recent comments.
Locally it ran fine (on Apache), but online it failed – eventually we realised it's (but of course) an IIS issue, not displaying $_SERVER['PHP_SELF'] correctly.
The developer solved it for me, but I have yet to submit the bug to the Wordpress tracker.

Maybe, just maybe, GoDaddy, 1and, my host and other mentioned above – all use IIS and again it's an issue only with it?

Anyway, I've replaced $cfadmin in line 1040 (v8.4.1) with true – but still no cforms tab :-(

Help please!

May 11, 2008
8:33 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Godaddy seem to have the worst setups…anyway, *for testing* here is what I would do with v8.4.1, in cforms.php:

comment out line 1031 & 1031:

// $admin = ( strpos($_SERVER['REQUEST_URI'],'wp-admin')!==false )?true:false;
// $cfadmin = ( strpos($_SERVER['QUERY_STRING'],$plugindir.'/cforms')!==false )?true:false;

and set these vars to true:

$admin = true;
$cfadmin = true;

Now setting $cfadmin to true is not really recommended and I suggest (if this works) to use the original $cfadmin = ( strpos($_SERVER['Q….line as it may have an impact on other WP admin pages.

May 11, 2008
4:03 pm
Yuda
Guest

Thanks so much Oliver for your quick response, however this doesn't work…

I saw that your plugin uses PHP_SELF – well, on the current IIS I'm using (PHP Version 4.4.4 System: Windows NT WEB85 5.2 build 3790) PHP_SELF doubles itself…
Maybe this is the reason for failure?

I also saw there is an IIS hack in your code – it might need revisioning.

I tried to use the hack I got from the recent-comments developer and that worked for it, which cuts PHP_SELF in half, and to place it in all occurrences of PHP_SELF – but it didn't work either…

$PS = $_SERVER['PHP_SELF'];
$PS = substr($PS, 0, (strlen($PS)/2));

Any ideas?

Thanks again,

Yuda

May 11, 2008
6:01 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

That's interesting, because that area was -not so long ago- adjusted to meet some funky IIS requirements and I personally tested it on a few user blogs that are hosted on IIS servers.

Can you add a print_r($_SERVER);to just above where it checks for PHP_SELF and email me (contact form) the output?

I'd like to see what $_SERVER contains in your environment and I'm sure we'll find a fix.

June 15, 2008
2:57 pm
Dennis
Guest

Hi,

I'm having the same problems with getting cforms to show up in the dashboard of Wordpress admin. I've tried the fixes mentioned ealier in this thread, setting the admin variable to true, however that did not work (only the CSS was affected).

Wondering if you found any solution?

I'm running cforms 8.5.1 on IIS 6.0.

Thanks,

Dennis

June 15, 2008
4:30 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Are you logged in as "admin"?

Make sure that cforms_init() get's triggered when activating the plugin (may want to add an echo 'test'; to see if it is.It is important that this code is being executed (as part of it):

$role = get_role('administrator');
if(!$role->has_cap('manage_cforms')) {
$role->add_cap('manage_cforms');
}
if(!$role->has_cap('track_cforms')) {
$role->add_cap('track_cforms');
}
September 20, 2008
9:57 am
Luca
Guest

I had the same problem with one of my cform installation.

After a lot of trials (and I didn't found what you mentioned in #9 I saw that the cforms folder had not CFORM name, but was "cform-8_7" (I named it so to keep the number of version).

Renamined it as "cforms", it works and it is shown in dashboard. It could be stupid, but it could be numbered in the list of possible solutions. :-)

Luca

October 1, 2008
12:13 am
Tim Watt
Guest

I've had the same problem but am frustrated – partly by this FAQ!

Using WordPress 2.6.2, on Safari, using PHP on Godaddy hosting. For site southernrwa.org – the usual tab for any evidence of cform isn't there.

Yes, I've studied the posts but your FAQ is circular! I've summised that the issue is with the .htaccess file but you do not link to any part of the FAQ where you describe what this should be, other than back to this FAQ. 

Obviously I've modified the .htaccess file to make the site usable with wordpress but what other change should I make. Please POINT IT OUT CLEARLY!

Thanks, Tim

October 1, 2008
7:54 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

In a thread with 31 posts saying 'I've had the same problem' is not helping.

If you're with Godaddy, by general advice would be switch hosts.

cforms doesn't need any .htaccess settings unless your hosts messes things up due to security or other odd server settings, they should know better.

October 1, 2008
10:02 am
Tim Watt
Guest

OK. So you don't wish to offer constructive advice to work round this issue. That's your choice to rule out Godaddy customers I suppose and I, and others, will go elsewhere for a contact form solution. But I WAS trying to be constructive in pointing out that that you suggest modifications that you do not link to for the detail or make it possibloe to find out where your advertised suggestion is described.

I tried all other solutions suggested but I am merely pointing out an error in your documentation, which may have helped me. Seems not.

You could still choose to be helpful though in investigating a more constructive solution.

October 1, 2008
6:07 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

OK. So you don't wish to offer constructive advice to work round this issue. That's your choice to rule out Godaddy customers …

No not all Godaddy customers, just you. Just kidding. If you search this forum for godaddy you'll find tons of support threads – which shows one thing: godaddy causes trouble.

…I suppose and I, and others, will go elsewhere for a contact form solution.

Your choice, it's a mostly a free world.

But I WAS trying to be constructive in pointing out that that you suggest modifications that you do not link to for the detail or make it possibloe to find out where your advertised suggestion is described.

It's the tone of voice.

You could still choose to be helpful though in investigating a more constructive solution.

I was being helpful (despite you yelling at me) and the points I made are valid, perhaps with a typo and missing the cherry on top.

October 1, 2008
7:15 pm
John
Guest

OK. So you don't wish to offer constructive advice to work round this issue. That's your choice to rule out Godaddy customers I suppose and I, and others, will go elsewhere for a contact form solution.

I wasn't aware that you had to pay anything for cforms. If someone gave me free gas oven, I would take it. If it turns out my landlord didn't offer gas in my apartment, then my option is to move to a place that does. Being angry at the person that gave me a free oven seems counter-productive to solving the actual problem.

December 2, 2008
11:59 pm
Brian
Guest

So there's an issue with the Role Manager plug-in.  Even being logged in as the Admin, I can't edit my forms.  I can only edit my forms when I deactivate the Role Manager plug-in. 

Any thoughts on how I can make the two work together?

December 3, 2008
7:17 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

did you set the permission properly with RM for cforms?

cforms was specifically designed to work nicely with RM.

April 27, 2009
1:56 am
Kitka
Guest

Hi,

I've inherited updating a site that uses cforms 8.5. It looks like the previous site admin hid the link to the forms admin area to stop people from mucking around with it.

Can I just bring up the dashbord / admin area by going directly to the URL of that page and if so, what is the URL? (I've tried all URLs to the files that live in the plugins/cforms directory but none of them display the dashboard so I want to know what file it should be in case it has been removed.)

Thanks,

Kitka

November 6, 2012
9:28 am
Dominocard
Guest

Hi all!

Same problem here
It has worked fine until a few days ago.I've the 13.2.2  version.

As the FAQ says I add the mod_security code in the .htaccess file

I have the admin privilege but still not works.

 

Please help

Tahnk u

March 10, 2013
6:42 pm
profeddieb
Guest

Oliver,

First of all, I really do love this plugin.  Thank you for all your work on this.

I am also not seeing the admin tab.  Everything else seems to be working perfectly.  I have been using this for quite some time without any issues. 

First of all the stats:

  1. cFroms 13.1
  2. wordpress 3.5.1
  3. php 5.3.15
  4. I am the only user/admin on site
  5. I have recently added 2 plugins . . . but they do not seem to be the problem, as I have disabled both and I still have this problem.  I have 3 total plugins running (besides cForms): ajax event calendar, quick paypal payments and Akismet.
  6. I have read the FAQs and from the if ($admin) and commented them out also tried if (true) Line 1598 and 1607 in v13.1
  7. I am unsure how to check $_SERVER array and what is the correct way for the server to format it.  However, I doubt this is an issue as this was working just a short while ago.
  8. I am not using ANY role management plugin.

Anyway, I do not need this to be perfect, but I do have the need for updating existing and creating new forms.  Is there any other workarounds you can think of or anything else I should check, to get those functions back.  And please remember, I am the only person accessing the admin console, security is not an issue – I just need a way submit changes and create new.  Even if it is just URL params you can give me.

Thanks in advance of any help you can give me, and please let me know if you need any other information.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)