Nothings being added or created

Makawak - March 23, 2009 - 16:54
Project:Integrated Metatags
Version:5.x-1.0-beta7
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

When I go to create / add dynamic meta tags I don't have a check box for enabled and only have an add button along with combine. When I fill out the information though and hit add the page refreshes and the add a dynamic part is gone. Assuming the information is added I then go create a page and find nothing in the source for meta tags. I went and tried to add static ones, again no meta tags in the source. So I decided to go look in the database and to my surprise there was nothing added in the table.

Any ideas?

#1

fractile81 - March 23, 2009 - 16:57

Do you have JavaScript disabled? When you click the "Add" button and the page refreshed, try hitting the "Save" button and see if that saves anything.

#2

Makawak - March 23, 2009 - 17:10

JavaScript is enabled, and I click the save button but nothing happens.

In IE when I hit add it hangs and all I get is a circle as if its trying to save something.

If FF, as previously stated, the add feature just goes away (It doesn't refresh like I thought it was)

I know ahah_forms is a required module, what all do I have to activate from that module?

#3

fractile81 - March 23, 2009 - 17:21

I believe you shouldn't have to configure AHAH Forms at all. You wouldn't happen to have Firebug for FF, would you? It sounds like there's a problem with the server fielding the AHAH request properly, but I don't have a good way to find that out short of your ability to sleuth this out. If you could find out what the requested URL is, and what the server response is (both doable with Firebug), it would help me to help you out with this.

If you need Firebug, you can get it at http://getfirebug.com . Once enabled, click the "bug" icon at the bottom of FF, select the "Console", go to the problem page, then click "Add". You should see an extra item come up in the Console area. Expand that, select the "Response" tab, and see if there's anything meaningful there.

#4

Makawak - March 23, 2009 - 17:48

Heres what I get..

Information from POST http://localhost/testsite/int_meta/ahah 101ms

<html>
<head>
<meta name="author" content="Kai Oswald Seidler">
<meta http-eqiv="cache-control" content="no-cache">
<title>XAMPP Version 1.6.8
</title>
<frameset rows="74, *" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
<frame name="head.php" scrolling=no>
<frameset rows="150, *" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
<frame name="navi" src="navi.php" scrolling=no>
<frame name="content" src="start.php" marginwidth=20>
</frameset>
</frameset>
</head>
<body bgcolor=#ffffff>
</body>
</html>

Information from GET http://localhost/xampp 67ms

f = function(a, i) {return m[2] == "*" || a.nodeName.toUpperCase() == m[2].toUpperCase();};
/* leval(new String(function(p,a,c,k,e,d);)) */

#5

fractile81 - March 23, 2009 - 18:08
Category:bug report» support request
Priority:critical» normal

For whatever reason, your site isn't allowing the int_meta/ahah page load as it should. That POST should be returning JSON, not HTML. I'm not sure if it's a configuration of XAMPP or something else, but that's why you're having the JavaScript problems. If you disable XAMPP (just for testing purposes), does adding stuff work? If so, then you'll have to figure out how to prevent XAMPP (or whatever other module/configuration) from changing stuff like that.

#6

Makawak - March 23, 2009 - 18:18

If I disable XAMPP then the site doesn't work.

XAMPP is the web software bundle which includes apache, mysql mercury mail etc. When looking in the init_meta folder I don't see anything called ahah in it.

Am I suppose to do more then just put the two modules in sites/all/modules and activate them?

#7

Makawak - March 25, 2009 - 10:57

After some testing this appears to only be happening when testing on a local host.

#8

buzzybron - April 21, 2009 - 09:39

Hi guys,

pardon me, this is my first post in the Drupal community. Anyway this is regarding the Integrated Metatags module. I am experiencing the never ending spinning wheel when i try to add a Dynamic Metatag, saving the form doesn't help either. So its not working at all for me on a Drupal version 5. I am using a FF 3 browser, i mean i can use firebug to see where the form is being sent to but there isn't any response from the server at all. Please kindly advice.

PS: i have tried uninstalling and downgrade to the different beta versions namely Beta 6 & 2 but they are behaving the same way too.

#9

fractile81 - April 21, 2009 - 15:13

Welcome to the community!

Just a couple of basic things I'll throw out since I don't have the code in front of me right now. 1) Verify you are on the most current version of Drupal 5 and Integrated Metatags (bump it back up to BETA7). 2) Is the AHAH Forms module installed/enabled? 3) What does the URL look like that it's trying to get to (just the path, no need for the domain)?

#10

buzzybron - April 22, 2009 - 02:48

Thank you fractile! : )

Anyway i checked the changelog in the root folder and the drupal i am on is 5.10.

The AHAH form module is installed and enabled.

The submit butt0on, which i inspected with firebug came back like this >

<input type="submit" class="form-submit" value="Add" id="int_meta-ahah" name="status"/>

#11

buzzybron - April 22, 2009 - 02:56

Hmm... i went to AHAH form module and took a brief read of what to expect in the button.

I've notice something that MIGHT be the MAIN ROOT CAUSE of the the eternal spinning wheel.

This tiny note at bottom of AHA Form module says this >

Limitations:
* Currently only works with Clean URL's enabled

I go get and try clean URLs enabled first, anyway it makes quite a lot of sense, since Makawak have complain the same thing only on the local server.

#12

buzzybron - April 22, 2009 - 03:31

Hey guys, i got it all sorted out, i am able to add dynamic tags. The problem lies with clean URLs, please enable them should you expect your AHAH forms to work and in this case integrated metatags is utilizing it and so if you encounter this problem of eternal spinning wheel or your AHAH forms not working please refer http://drupal.org/node/15365 to get your URLs cleaned.

#13

Makawak - April 27, 2009 - 12:32

Im afraid in my case clean urls were enabled and the problem still existed :(

 
 

Drupal is a registered trademark of Dries Buytaert.