Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've just set up Drupad with my D7 personal site. I can connect correctly, browse around, etc, and it all appears to work fine. However, when I create content it says "saved" in the app but the new content is nowhere to be found on the site, not are there any error logs. Any ideas? Thanks
Comments
Comment #1
jjstefanko CreditAttribution: jjstefanko commentedI am having the same issue with not much success for a solution. I did find one item that was interesting in the content_forms.inc. At the top of the file there are references to
?q=drupad/content-forms/node
?q=drupad/content-forms/
and some other links. When I put those links into my browser, which is signed in as administrator with full permissions, I get an Access Denied Error.Also, from looking through the module code I do not see a clear section for updating the database if the content is edited/created. I may be missing this!! I am not the creator of this great system. All credit to the creator jchatard . I am just trying to help.
Comment #2
jchatard CreditAttribution: jchatard commentedIf you want to debug from your browser, you need to set your browser agent to Drupad. This is a security measure.
About the saving part, Drupad does only send an HTTP post request with the same form as you would send via the regular web interface. So the Drupal form API catches it and processes it!
Jeremy
Comment #3
jchatard CreditAttribution: jchatard commented@jjstefanko Can you see something in the Drupal logs? When you try to save a node?
Comment #4
jjstefanko CreditAttribution: jjstefanko commentedAll I get is a saved message from the app. Then the page reloads and shows me a blank form as if I were going to add something new or if I am editing a page reloads the form and shows the basic page and my edits are not there. Nothing is showing up in the logs in reference to the editing or creation of items.
Comment #5
jsheller CreditAttribution: jsheller commentedI am having the same issue since a few month. I tested a lot to find out the problem and can tell you this:
- When I am logging in, Drupal notice that I am here and in the log it says "Session opend for xxx@xxx.de".
- When I try to save or edit a node, the form validation of the content type is not checking the fields and the app every time says "Saved!"
- When I try to delete a node, the deletion is sucessful but no notice is showing in the log! It is not visible that the node was deleted and with which account.
I am running a sandbox system with a earlier version of my website. The drupad-Version in this instance is the same, but Drupad is working fine in this installation! I only updated a few other modules and the drupal core (sandbox 7.14, system with problem 7.19) between the sandbox and the problem-system status.
I hope that helps you a little with the problem analysis?
Thank you!
Comment #6
jchatard CreditAttribution: jchatard commentedHi guys,
I'm out for 1 or 2 weeks for holidays. I've added a reminder to get back to you, as soon as I come back, but feel free to remind me to get back to you on this.
Thanks,
Jérémy
Comment #7
jsheller CreditAttribution: jsheller commentedHi Jérémy,
here comes the reminder you asked for ;).
Is there something new about this problem?
Thank you very much in advance,
Jacqueline
Comment #8
jchatard CreditAttribution: jchatard commentedHi Jacqueline,
Would you be able to send me a copy of the "non-working" Drupal instance (source + db dump) so that I can debug this on my local computer?
Thanks,
Jérémy
Comment #9
jsheller CreditAttribution: jsheller commentedHi Jérémy,
unfortunately I cannot send you a dumb of that instance because its a company website with lots of personal information from employees and customers. :( :( :(. I am really sorry about that. The data protection guidelines of the company are very strict about that.
Does a list with all moduls and its versions may help you?
When I am on holiday in the next weeks (did not know when especially yet), maybe I get time to set up a new drupal instance and try to reconstruct the error.
Do you have some hint what and how I can test to help you narrow down the problem? Or are there some error logs I did not know which would help you?
Thank you very much and sorry again,
Jacqueline
Comment #10
jjstefanko CreditAttribution: jjstefanko commentedI could send you a copy of my db and source(eliminating the sql user and pass info) or provide you with a temp admin login to one of the sites. Please let me know. I am running a Drupal multi site install with symbolic links and separate databases.
Joe
Comment #11
jchatard CreditAttribution: jchatard commentedIf you can send me a clean dump that would be great because I'll then have your exact config.
Cheers,
Jeremy
Comment #12
jchatard CreditAttribution: jchatard commentedIf you can send me a clean dump that would be great because I'll then have your exact config.
Cheers,
Jeremy
Comment #13
jjstefanko CreditAttribution: jjstefanko commentedJeremy ,
So you would like the following:
Dump of Drupal File System
and a dump of the MySQL file
Is there anything else?
Joe
Comment #14
jchatard CreditAttribution: jchatard commentedNo, that should be fine.
Oh maybe if you could set a simple password for the user 1, like "admin" before creating the dump that would be awesome.
Cheers,
Comment #15
jjstefanko CreditAttribution: jjstefanko commentedok. how could i get this to you? I am just waiting for my backup to complete.
Comment #16
jchatard CreditAttribution: jchatard commentedYou could put on Dropbox and send me the shared link for example :-)
Comment #17
jjstefanko CreditAttribution: jjstefanko commentedIm working on it!
Comment #18
jjstefanko CreditAttribution: jjstefanko commentedI sent you a contact through your drupal.org profile page.
Joe
Comment #19
jchatard CreditAttribution: jchatard commentedYep, just saw that!
Comment #20
jjstefanko CreditAttribution: jjstefanko commentedIf you have trouble getting that to work. I will allow you to use my server through an account. I have a complicated Drupal system. I have several sites running off a single file system.
Comment #21
jchatard CreditAttribution: jchatard commentedSadly... or not, it's working perfectly on my local machine...
Comment #22
jjstefanko CreditAttribution: jjstefanko commentedeven the drupad app?Never mind you mean the file system i gave you is working..
Comment #23
jchatard CreditAttribution: jchatard commentedYep, can you read
mov
files (created on OS X)?Comment #24
jjstefanko CreditAttribution: jjstefanko commentedyes i can - I am on a mac
Comment #25
jchatard CreditAttribution: jchatard commentedJust sent you a link to screencast, pure quality sorry, but just to show you.
Does this use case reflect something that didn't work for you?
Comment #26
jjstefanko CreditAttribution: jjstefanko commentedcould this be because i am using cloud flare?
Comment #27
jchatard CreditAttribution: jchatard commentedNo idea!
But that could make sense. Because if Cloud flare caches Drupad responses, then it *could* tell the iOS app that everything went fine, even though Drupal hasn't been hit.
But I'm only guessing...
Comment #28
jjstefanko CreditAttribution: jjstefanko commentedI am running a quick test on one of my sites that is non cloud flare. It would be surprising though because I am only using cloud flare for security..but I am using the boost module.
Comment #29
jjstefanko CreditAttribution: jjstefanko commentedOn my non cloudflare website there was still the problem. Even with boost disabled I still am having this problem.
Comment #30
jchatard CreditAttribution: jchatard commentedIs this an instance that I can access the source code and make some debugging tests?
Comment #31
jjstefanko CreditAttribution: jjstefanko commentedthe source code of?
Comment #32
jchatard CreditAttribution: jchatard commentedDrupal
Comment #33
jjstefanko CreditAttribution: jjstefanko commentedI cannot give you direct access but I can grant you indirect access via team viewer (its free and like log me in)
Comment #34
jchatard CreditAttribution: jchatard commentedI never used this, so don't know how to works.
Comment #35
jjstefanko CreditAttribution: jjstefanko commentedok no problem... is there another way do this.... also my content page says updated also when I use the app the changes just do not save
Comment #36
jchatard CreditAttribution: jchatard commentedThe only way I can help you, is that I try to find what's going on, on the server where it's not working and make some tests, adding debug statement, etc.
So I need something I can break without disturbing users visiting the website, and with no fear to loose any data.
Comment #37
jjstefanko CreditAttribution: jjstefanko commentedI think i figured it out. If you click submit changes with the keyboard still up they do not save. When I click dismiss on the keyboard the changes save
Comment #38
jchatard CreditAttribution: jchatard commentedCan you confirm that this solves every use case previously not working?
Comment #39
jjstefanko CreditAttribution: jjstefanko commentedI am trying it on all 4 sites on my iphone 5
Comment #40
jjstefanko CreditAttribution: jjstefanko commentedConditions of websites
Testing done on 4 sites all with boost, 3 with cloudflare.
Using a multi site install
Test Done On:
ATT iPhone 5 with iOS 7 beta 4 on an LTE Data Network:
Results:
If you are forcing www(cloudflare requires it in my case with Dreamhost) in the url please make sure that you input the whole url into the Drupad Sites Page. Example:
Correct:
Some Site
http://www.somesite.com
Incorrect:
Some Site
http://somesite.com
If you are not forcing www in the url and you site can be accessed from both www.somesite.com and somesite.com then an example of the sites page in the Drupad app is:
Some Site
http://www.somesite.com
--or--
Some Site
http://somesite.com
Be sure to click the dismiss button on the keyboard when done and before submitting changes.
Creating and editing of basic pages work.
What I am still testing:
Ubercart creating and editing
So far the ubercart product creating does not work. There are not enough fields in the app for iOS devices. I get the error SKU needed and Price Needed.
So far basic ubercart product editing (edit description and upload photos works as long as any keyboard is dismissed before submitting changes)
Comment #41
jjstefanko CreditAttribution: jjstefanko commentedConfirmed to my testing. I will double check tomorrow.
Comment #42
jchatard CreditAttribution: jchatard commentedOk, thanks for the debugging!
Comment #43
jsheller CreditAttribution: jsheller commentedHi Jérémy and Joe,
I tried to test the same things you tested:
Theres no change on my problem. My content still didn't save with this method. (The form validation did not work, too.)
The website I am testing is running with https. Does this maybe cause problems? My working instance does not run with https but only with http.
Let me know when there is a test case I could try to help you.
Thank you!
Jacqueline
Comment #44
jjstefanko CreditAttribution: jjstefanko commentedJacqueline,
In the Drupad Application are you using
https://www.yourdomain.com
in the settings for your website? What .htaccess code are you using? Are you using a CDN network and or extremely aggressive caching? I know with aggressive caching even editing pages on a computer don't work.Things to try:
The two different code Snippets found on
http://drupad.com/install.html
. In the first code snippet try with out the L in the end:Then in the settings of your website on the Drupad Application try different website urls :
Comment #45
jchatard CreditAttribution: jchatard commented@Jacqueline,
Using
https
shouldn't be an issue.Is your website accessible so that I can do some tests, debugging without disturbing any of your users?
Thanks,
Jérémy
Comment #46
jsheller CreditAttribution: jsheller commentedHello together,
both the domain writing versions and the snippet (without L) in the .htaccess didn't work for my problem. No form validation, no content saving. Should I try the snippet including the L? (Actually I do not know for what the L stands, so sorry if this is a silly question.)
I will talk to our administrators to grant access for you Jéremy. But I guess this will take a little time :(.
We are currently in holiday season and it's not possible to bring all the needed people together before 19th/20th of august.
Today and tomorrow I will do further tests and if I find out something new I let you know.
Thanks for you help!
Jacqueline
Comment #47
jchatard CreditAttribution: jchatard commentedHi Jacqueline,
About the
L
, I have to admit that I'm not sure anymore if it is or not that useful. It seems that most people haven't any issue using it. So I would advise you to test with or without. Theses snippets have been added to the documentation for server configurations that some people may have, but on my sites, I've never needed them.When you can grant me access, just reach me and I'll have a look.
Just be aware that I'm currently on an around the world trip, so I might not be reachable from time to time depending on where I am on this planet :-p
Cheers
Comment #48
jchatard CreditAttribution: jchatard commentedHmm, you should defenitly try without the
L
. Symfony users have come around the same kind of problem. They use the same workaround, but don't put theL
.Reference: https://github.com/symfony/symfony/commit/87bb3661fc8a17160815906c58dabb...
But from my understanding, this might not be your issue, as it seems that the rest of the application is working as expected.
So as far as I understand, it would seem that only
POST
requests don't work. Don't know if this has something to do with the CGI/Apache autorization handling.Comment #49
jchatard CreditAttribution: jchatard commentedAfter looking at Drupal 8
.htaccess
they are using the same kind of snippet but the syntax is quite different:To try as well!
Comment #50
jsheller CreditAttribution: jsheller commentedHi all,
I am sorry, I couln't test it today because the system is currently in a very high use. I will be in holday from today on and will get back to you in a little more than two weeks.
Thank you very much for your help!
Jacqueline
Comment #51
anydigital CreditAttribution: anydigital commentedStill reproducing for me.
Clicking on the "Dismiss" button when editing body field helps (thanks #comment-7703377).
Any chance to fix this strange issue?