I installed this module and went to admin/config/system/logotool and got this error:
Fatal error: Call to undefined function file_directory_path() in /var/www/vhosts/zzzzz.net/subdomains/xxxx/httpdocs/sites/all/modules/logotool/logotool.admin.inc on line 26
Any help? I uninstalled and reinstalled and no dice.
Comments
Comment #1
beckyjohnson commentedI tried installing it again and I'm getting this error:
DatabaseSchemaObjectExistsException: Table logotool already exists. in DatabaseSchema->createTable() (line 652 of /var/www/vhosts/xxxxxxxx/subdomains/xxxxxxxxxx/httpdocs/includes/database/schema.inc).
How can I fix this? I have no clue what's going on.
Comment #2
pobster commentedI'm afraid it's not ported to Drupal 7. If you look in the issue queue someone has claimed to have done it. I reviewed it and I'm sure it'll probably work, but he's "fixed" it by stripping out the majority of things that didn't work... I'll upgrade it at some point myself but afraid I'm far too busy to do it at the moment.
The port you have downloaded is only compatible with an alpha release of D7.
Pobster
Comment #3
beckyjohnson commentedOh ok. I see, thanks.
Comment #4
valderama commentedAs I would like to see this module ported to D7 as well, I hope we could make it together.
Do you think its better to start with the current D7 dev or with the latest D6 version?
Also a rough idea in two sentences how this module is working would help.
Thanks and best,
walter
Comment #5
eiland commentedComment #6
pobster commentedIt's not a BUG if it's not been written yet. It's a TASK. It's also not CRITICAL as it's never been available for D7.
When I need it myself, I'll update it - until then I'm afraid I'm in absolutely no hurry at all.
Pobster
Comment #7
bdambrine commentedThen why do you not remove the 7.x-2.x-dev version?
The 7.x-2.x-dev is not working, its a bug, and its critical.
This issue is for others, like me, to see that they shouldnt bither trying your v7 version. I'm marking it again, sorry old sport.
Comment #8
pobster commentedYou say that, yet you closed the ticket...
Here's some things you may like to know - forgive me if there are duplicates/ crossovers, it's just a dump of mild rant;
Love,
Pobster
Comment #9
pobster commentedOn the back of this, I'm abandoning this module. I'll reinstate it when I need it for D7.
Pobster
Comment #10
eiland commented* This software is open source...
> Which means that there might be a notice for other developers that the 7.x-dev version is not working, so they might give a hand.
* That does not mean I am obligated to help you (for free) to finish your paid for shitty website
> It would be "obliged", in non-shitty, non-pigeon English.
* ...You did not pay for this module
> The horror!
* Closing the ticket, means it doesn't appear anymore
* When you mark it as "critical" I get an email every week - this module has never had a release, it is not critical to anyone
> Let me help you set up email filters. Oh wait, you did not pay me for that.
* Development versions of modules should never be installed unless you are a developer
* Critical to you does not mean critical to me, I do not care about your priorities unless you're willing to pay me to care
> It is critical to the functioning of your lovely little module in D7.
* When a developer is busy, it means he has no time for his FREE projects - the ones I get paid for will always be my priority
> Or she.
* Being a douche in the open community means everybody is less likely to help you. There's not a chance I'm ever going to lift a finger to help you out with anything
> I guess you learned that by experience.
Comment #11
DMDU commentedGreetings,
I agree with Lady Eiland... Pobster should be less harsh even for free users.
BUT he is right in his point about not like to work for free. But maybe even Pobster using other modules (or even "only" core Drupal) which is whole free (surprice!;)). So please, think about it and please think about yourself even more, dear Pobster.
I do not know any PHP (I am not a programmer or such expert), so i used just my mind and read all files in the module for both main versions of Drupal (last logotool 6 and logotool 7.dev). Then I used Coder and Documentation to rebuilt logotool 6 to "my" version of logotool 7 (Pobster´s logotool 7 is useless even after Coder told all OKs). But "my" new logotool 7 has still blocking mistake - but I finally found it, thanks to error message when "switch on" the module (by menu admin - modules). In the logotool was mentioned table FILES which is no more in D7. So I changed it manually to FILE_MANAGED (as only logical option from tables existing after fresh installed D7).
Because of the above mentioned files_MANAGED I am afraid, that in same cases a logo can "disappear"... (because of deleted file or change in the table (?)...).
In this time, I nearly understand how the logotool working (maybe even I could set some specific logos manually in MySQL - disappeared logos can be repaired that way), but there is still some problem with page admin/settings/logotool. """
PDOException: SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger..."". It is because too much modules or why? My memmory settings should be more than enough. I will try Pobster´s part of asociated code.Some time before I had a basically function logotool for D7, but I accidentaly deleted it and therefore I started all again. If someone who has "my" old +- function version would be so kind and put it online for download, i would check it at least and if i will be able to repair it (for the logos not disappearing), then i will do my best!
+edited:I finished the Logotool for D7 - without any bug and with full functionality! After reinstalling my website I read last messages about undefined variales (form_current, form_new in "Implements hook_theme") and I fix it according the documentation (D7 API). So NOW the LOGOTOOL D7 is back at http://DMDU.netprostor.cz/PRACOVNI/logotool-d7.zip - now included success symbolizing picture as default logo! ;)With Bow before free software makers,
M. Radan Chrobok Ph.D.
http://DMDU.netprostor.cz
Comment #12
DMDU commentedNOW the LOGOTOOL D7 is back at http://DMDU.netprostor.cz/PRACOVNI/logotool-d7.zip - now included success symbolizing picture as default logo! ;)
Please, post your usage results!
Comment #14
summit commentedHi,
Set this to active again because
1) The 7 version is not shown as branch on the homepage, but it is told it is there.
2) Without that I think there will be no more issues here posted while I think this should be the case, right?
Can't the version on http://dmdu.netprostor.cz/PRACOVNI/logotool-d7.zip not be posted as a branch 7.3 here?
Thanks a lot in advance for considering and otherwise sorry if I mistakenly opened a closed issue.
Greetings, Martijn
Comment #15
pobster commentedHey Martijn,
I'm going to have to mark it as postponed again as I don't have the time at the moment to port it properly. You'll have to use the DMDU version at your own risk - I gratefully received and reviewed it but found several issues including two security related ones so I can't/ won't create it as a branch on here.
Just to note that I *will* absolutely be needing it myself fairly soon - so it will be ported at some point.
Thanks,
Pobster
Comment #16
DMDU commentedGreetingsm,
dear Pobster, would you be so kind and give me at least a hint what I should repair (improve)...? I am still learning the Drupal (and even PHP), so I hope, I will be able to fix (hopefully even alone).
I like that YOUR module so much! :)
Comment #17
pobster commentedClosing as I really don't care about this module any more. It was to fulfil a purpose, and that was a very long time ago...