Upgrading the package to 6.14 -> Fatal Error

Status: 
Solved
Question: 

Hi,
i tried to upgrade the package 2.1 (which is still 6.13) to (core) 6.14.
Backed up db and files
Disabled alle the modules (except core) some sub(?) moduels are greyed out (could not unchech it)

After saving* I got this Fatal error: Call to undefined function simplenews_user_is_subscribed() in xxxxxxxxxxxxxxxx/walkawayght.com/includes/common.inc(1655) : eval()'d code on line 4

Any ideas what this means?

* I think it was that error just after saving. I cant login anymore I m getting this error allways trying to login at http://walkawayght.com (its deleted now)

Responses

1. Try to retype you ' , they

Try to retype you ' , they get curly if you copy them from a pdf.

2. Sorry, I dont understand...

What retyping? Where is a pdf after klicking the save btn?

3. Hi, Check the simplenews

Hi,

Check the simplenews block. I am guessing you have entered some custom php code in the 'show when' block. See if there are any ' or " in there and retype them.

4. thanks, i ll check that: but i m sure,

i never ever in my life have entered some php code anywhere=;0)) I m a right brainer. I m not able to write one "word" in php...

5. try updating that module

try updating that module (simplenews and all simplenews related), might be incompatible with 6.14, anyway what does your /includes/common.inc line 4 says? just wondering.

6. No, you don't need to do

No, you don't need to do that. It's the custom code that's inputten in the the block under the visible when section.

Please paste that code here.

If you delete it, you will also get the upgrade working. The newletter block will just show always, not only when the user is not yet subscribed.

7. I had to delete the complete installation,

because i couldnt go back or log in after this error. So i will try to reproduce it with another test installation. The only explication i have is, that i have renamed the newsletter to Walkawayght newsletter, but not change the code.
<?php
$match=TRUE;
global $user;
if (simplenews_user_is_subscribed($user->mail, 19)){
$match=FALSE;
}
return $match;
?>
Can the change of the name have caused that?
wolfgang

8. You need to make sure that

You need to make sure that you replace the 19 with your vocabulary for newsletter.

Also, if you updated simplenews, see if the latest module still has a simplenews_user_is_subscribed function (see in the .module file if you can find any). I thought it was still there.

9. what do you mean with "your

what do you mean with "your vocabulary"? I did not changed anything in the actual/last installation. So what should i change?
I have only changed some design/theme issues, not updated the simplenews or other module. Hence I thought it must work with the original package, but it does not. I disabled all modules again step by step. FOA it worked, but after 3rd saving the error apears again. Fatal error: Call to undefined function simplenews_user_is_subscribed() in /home/walkawai/addons/walkawayght.com/includes/common.inc(1655) : eval()'d code on line 4

The desaster is, after that I can not log in anymore.
I have to upload again the whole package and to try again if it works or not!

I have purchased the package, because you promised running it "out of thre box". I knew thats not possible for a Drupal newbie, but now im struggling with issues, they have nothing to do with my little knowledge of Drupal.
Pls update the package, it wasnt updated since August 12, 2009, to core 6.14 or/and correct that simplenews-script.

10. Hi, I just reread your first

Hi,

I just reread your first post and you said that you disabled all of your modules. Than that's probably it. Try upgrading without disabling them, for a small upgrade it's ok.

11. thanks, but the error has

thanks, but the error has occupied all. After uploading 6.14 or uploading only the sitefolder, the error remains. No login anymore (i have set the site to offline modus, as recomended everywhere). In all instructions i have checked, they say i should disable the modules also with a smal upgrade.
Ok. I will upload the package again and try to upgrade without disabling the modules. I hope this will work.
Dorien, thats imho is serious bug, you have to fix.

12. I'm upgrading the package

I'm upgrading the package this week, if you can hang on a few more days, I'll check it myself.

13. I upgraded the core of the

I upgraded the core of the package to 6.14 easily. But it is essential to leave the modules as they are.

I'll be doing the rest soon and upload when complete.

14. thanks for the fast upgrade

"leave the modules as they are...
ok, but can i add other modules? I need at least the quicktab module...

How do I get the link. i did not find it in my account at book.drupalfun.

15. hola xdemianx: como estas?

me alegro escuar algo from sudamerica: me parece bien la pagina http://www.thefoodlinks.com
Has usado algo de drupalfun en tus proyectos?
thefoodlinks ha funcionado ya ;)), porque me gusta mucho un vino chileno, que se llame Luz Maria.

ps: espanol hablo mejor que escribo...

16. Hola wmb, No sabía que habla

Hola wmb,

No sabía que habla espanol! Donde lo ha aprendido?

17. e vivido unos anos en

e vivido unos anos en Espanga. Aqui en viena casado con una columbiana. Por esto tengo unos amigos de sudamerica...

18. xD, hola wmb! si he usado

xD, hola wmb! si he usado mucho de drupalfun en mis proyectos, podria decir que aprendi a utilizar drupal gracias al libro de dorien.
The FoodLinks esta casi terminado pero faltan aún algunos detalles.
Saludos!

Translation:
hi wmb! yes, i have used a lot of drupalfun for my projects, i can say that i have learned to use drupal thanks to dorien's book.
The FoodLinks is almost finished but theres some details still missing.
Cheers!

19. did you have some

did you have some experiencies with Drupal before you started the projects with Drupalfun? I m not a coder, i m having a lot of problems with it.
saludos

20. me? nope, i was looking for a

me? nope, i was looking for a good cms so i found drupal, then i tried to make a website but it was so basic so i found doriens book and bought it, then, 3 months later, i created The FoodLinks. i dont know much about code either i cant even make my own php scripts but i have learned a lot of css and html, but yeah takes a while to get used to drupal functionality but when you do... you get addicted xD

21. aha..

>i have learned a lot of css and html
aha: that´s it from my point of right brain view. css and html is still coding for me ;))
I would need a real right brain tool like Rapidweaver (Artisteer is not really ready for working) for drupal . Maybe the upcoming Aquia Garden comes closer to that.

I have a lot of content here to "convert" in social networks here, translating, etc. If you are interested in a colaboration, pls send a note offline.
saludos wolfgang

22. The package is updated.

The package is updated.

23. Thanks Dorien, I have already DL the package some days ago.

(first version) I have noticed that it was not complete. (I have DL it again and now it seems complete). In the first version the folder "includes" was missing, so i used the includes folder from 6.13. What is this folder for? Can i exchange the folder includes or have you changed more? Or will it make trouble, if i only exchange the folder includes?

24. Hi, The package is complete,

Hi,

The package is complete, I did not change it. The includes is a standard folder from D6.14. You need to use the newest.