Feng Forum

Support => Older versions => Topic started by: mrsteveman1 on August 04, 2009, 10:39:41 pm

Title: upgrade to 1.5.1, documents toolbar no longer visible
Post by: mrsteveman1 on August 04, 2009, 10:39:41 pm
We were running 1.5 on Linux and had added a few documents to the system (we love it by the way), however upgrading to 1.5.1 we no longer have an editor toolbar in the documents editor.

You can see what it should look like here:

http://wiki.opengoo.org/lib/exe/detail.php/fck-editor.jpg?id=documents (http://wiki.opengoo.org/lib/exe/detail.php/fck-editor.jpg?id=documents)

Notice the buttons for bold, italic, font size, justification, indent. We no longer have those, and i have uploaded a screenshot of the current look here:

(http://img7.imageshack.us/img7/9334/toolbarn.th.png) (http://img7.imageshack.us/i/toolbarn.png/)

It would appear something is not loading, however i have completely reinstalled the opengoo software while preserving the config and database, and i get the same problem.

Thoughts?
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: mrsteveman1 on August 04, 2009, 10:44:18 pm
Some additional info.

This is found in the log.php file:

Session "default" started at 2009-08-05T01:40:59+0000
#1 ERROR: Error: Undefined index:  id in '/var/www/html/opengoo/application/views/co/view.php' on line 112 (error code: 8 )
Time since start: 0.0931849479675 seconds


Browsers include firefox 3.5.2, safari 4.0.2, opera 10 beta 2

Server is running ubuntu 8.04.3, apache 2.2.8, and mysql 5.0.51a-3ubuntu5.4
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: afrofur on August 04, 2009, 11:44:16 pm
Exact same problem as described above.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 03:15:49 am
Same problem here myself, IIS. Cache cleared, etc.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: neapovea on August 05, 2009, 07:40:57 am
After upgrade witout problem we have the same problem as described above.

thnks

Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: ignacio on August 05, 2009, 05:50:43 pm
Ok, we have found the problem. You have to replace file 'application/helpers/page.php' with the one attached here.

Please tell us whether this solves the issue.

Thanks.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 06:10:08 pm
No, I get this:

Quote
Parse error: syntax error, unexpected $end in D:\Domains\mydomain.com\wwwroot\clients\application\helpers\page.php on line 935

I should also add that when I try to log into OG I get this, no screens appear at all.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: ignacio on August 05, 2009, 06:20:41 pm
Can you please try again? I think your file might have corrupted when you uploaded it. It is giving an error about unexpectedly getting to the end of the file at line 935, but the file should have 956 lines.

Thanks.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 06:33:56 pm
Ok, downloaded a fresh copy then replaced the existing file, now I get this:

Quote
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in D:\Domains\mydomain.com\wwwroot\clients\application\helpers\page.php on line 953

Parse error: syntax error, unexpected $end in D:\Domains\mydomain.com\wwwroot\clients\application\helpers\page.php on line 953
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 06:40:12 pm
Hmm I downloaded it again and opened it up in notepad++, it has 953 lines, here is the last line:

Code: [Select]
$page->addRelLink(with_slash(ROOT_URL).$src, 'shor
will try again a third time.....
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: ignacio on August 05, 2009, 06:41:53 pm
I recommend you using a more reliable upload mechanism, like scp or rsync if available to you.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 06:43:07 pm
Okay this is totally weird.. each time I download the file, it gets smaller and smaller. Now it has 949 lines .... going to restart FF.

It's not happening on the upload, it is happening when I download from your link.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: ignacio on August 05, 2009, 06:52:27 pm
Lol
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 06:53:46 pm
Okay, restarting Firefox fixed it. File looks correct, proper # of lines.
Uploaded it to my server and OG starts, but I get this whenever it starts:

Code: [Select]
Query failed with message 'Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=''
Error params:
File: D:\Domains\mydomain.com\wwwroot\clients\environment\library\database\adapters\AbstractDBAdapter.class.php
Line: 386

After this message, I can click anywhere and OG works, I do get the toolbar back in the editor (yay!), however I get that error above every time I restart OG.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: ignacio on August 05, 2009, 07:05:50 pm
That error is fixed with this patch:
http://forums.opengoo.org/index.php?topic=2378.msg9159#msg9159

Please try it.

Thanks a lot Pet! :)
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 05, 2009, 07:10:19 pm
Okay, both of those problems are solved, no problem, thank you!
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: afrofur on August 05, 2009, 08:23:55 pm
Thanks ignacio. All good with the patches in place.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: mrsteveman1 on August 05, 2009, 11:12:04 pm
Seems ok here, thanks :)
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: max on August 06, 2009, 04:52:57 pm
Hey, I had the same missing toolbar icons problem as described in this thread, and i also had the same problem downloading the PHP attachment. I tried three different methods,

1) download it with DownThemAll download manager
2) download with the regular firefox download manager
3) download it with right-click & "save link as..:"

and the first two methods always ended up with concatenated files, 4 out of 4 tries.
Method 3 worked immediately.

I have never had this problem before.

funny!
However, having checked that all files end with ?> now I'm all patched up and happy again.
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: salival on August 06, 2009, 05:47:10 pm
I have no luck when trying to download the page.php file. Could somebody upload it again?
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: max on August 06, 2009, 05:54:10 pm
voila
I've also included the tags class which should also be patched according to this thread. (http://forums.opengoo.org/index.php?topic=2378.0)
(application/models/tags/Tags.class.php)
Title: Re: upgrade to 1.5.1, documents toolbar no longer visible
Post by: Pet on August 06, 2009, 11:26:07 pm
...i also had the same problem downloading the PHP attachment. ...
and the first two methods always ended up with concatenated files, 4 out of 4 tries.
...
I have never had this problem before.
...
funny!

I have no luck when trying to download the page.php file. Could somebody upload it again?

Strange... good to know I wasn't the only one!