-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serious 2.4 and 2.5 issues - extension not functional #13
Comments
Ah, won't this be because of Edit: I was thinking of this issue: TwistedInteractive/author_roles#28 Which I actually think is 2.5 specific, and I tried it and it didn't help anyway. |
Oh, found it! Should have read the error properly rather than getting fixated on the functions. There's an actual typo in the code:
Should be:
Note the bracket in the wrong place! Oops! I'll issue a pull request. But… how did this not crop up before, looks like it was introduced in 2012 😕 |
Incidentally changing the |
I'm now unsure if this was a suitable fix. I'm attempting to deploy this very site in a different place and am getting the following:
Which is that same line above. @nils-werner I don't suppose you can see anything obvious? |
Hope you don't mind Symphonists but I'm going to summon a few of you to take a look at this @brendo @nilshoerrmann @michael-e @nitriques. @nils-werner doesn't seem to be about, and it's stumped me, I'm assuming someone more familiar with the process involved might spot something, I'm thinking it must be a simple error somewhere… (deprecated function?) |
Unfortunately my time is too limited to dive into an extension that I never used. In addition to that, I don't even understand the sense of this extension. Dumping or restoring a database is simple using standard tools (e.g. a UNIX/LINUX shell, or Sequel Pro on the Mac, or even the quirky phpMyAdmin). So why introduce additional programming complexity (and limiting factors like PHP timeouts) in this process? In my eyes attempting to administer a database using PHP is bad practice. |
I'm sorry, but – me too – I've neither the time nor the knowledge to take care of this extension. |
Thanks anyway guys! @michael-e If you have a better workflow for sharing site data within a git repo between developers I'm all ears :) This isn't administration, it's just dumping/synching, and enables us to keep the data as part of the workspace. Although of course completely off-topic :) |
We create dumps using Sequel Pro, sharing the files over local network. |
Sequel Pro is king. But especially for automated tasks, shell scripting is even better. (Yes, I admit that my comment was off-topic.) |
That'd be a clunky alternative for using this extension to bundle the db with the site IMO - but a great tool for actual administration - have never really looked for alternatives to phpmyadmin before so thanks for the tip! In the meantime if anyone spots anything obviously wrong with this function please do let me know :) |
@nathanhornby Sorry for being so late and I've never used this extension before. I personally use phpMyAdmin and MySQL Workbench for dealing with DB migration. Finally, I would try the following (if your on 2.5) |
Awesome thanks @nitriques will give that a go. I have a feeling I may have tried it already, but fingers crossed! If any of you guys need to frequently pass a complete Symphony site around in the form of a repo, you'd quickly enjoy the benefits of this extension :) |
I should definitively try it! |
Well, when it works again! :)
|
Sorry for the delay... Fixed in 1.11.2. Tried it in Symphony 2.4 and 2.5. |
Thanks Nils! Looking at the commit it looks like the only significant change relating to this issue is the bracket move, did you see the follow up in this thread and the other error?
|
Yup, fixed that one too. |
Awesome thanks, really appreciate it!
|
Hi @nils-werner I just updated the extension on a site I was about to deploy, deployed it (using FTP like old times!), logged in to the CMS and was immediately met with:
Which part of the commit addressed this part of the issue? I'll take a look to see if the commit made its way to the extension properly (although as I said, I could only see my original fix above in the commit, which didn't resolve this). |
The above steps to reproduce are important by the way, I've only seen this issue when deploying an existing site somewhere else; same issue whether I place the site files manually, or |
What exactly did you do? What version of Symphony and Dump DB are you using? |
Hi Nils, That error is produced when first logging in after deploying the site (as mentioned, either by placing the files directly using FTP, or pulling via git). Symphony version 2.5.1 (I can't recall if this further error cropped up on the 2.4 deployment I did recently). Moving the site seems to be an important step. So workflow:
Only way I've found to resolve that error is to disable the extension, leaving it unusable. I was getting this error before you updated the extension, and now after - it's persisted. So whatever those two versions are. It's not rare for me to make silly mistakes, or to miss an obvious part of the problem - but I;ve seen this now on every deployment I've done over the past couple months, in differing environments etc. - so definitely something up. (famous last words?) Nathan Edit: I don't know what Dump DB stores or references, but given that moving the site is part of the issue, could it be due to a changing database name or similar? Naturally these settings are updated in the database section of the config file, but does dump db store anything like that that I should be addressing when moving a site? |
I'm hitting a blank white page when attempting to install on a fresh 2.4, nothing in Symphony logs, getting the following in my php log:
Must be a recent change as I've used the extension a lot with 2.4 already. I'll have a quick look now but am noting the issue in case I don't get anywhere with it.
The text was updated successfully, but these errors were encountered: