Feng Forum

Support => Older versions => : mrsteveman1 August 04, 2009, 10:39:41 PM

: upgrade to 1.5.1, documents toolbar no longer visible
: mrsteveman1 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?
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: mrsteveman1 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
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: afrofur August 04, 2009, 11:44:16 PM
Exact same problem as described above.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet August 05, 2009, 03:15:49 AM
Same problem here myself, IIS. Cache cleared, etc.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: neapovea August 05, 2009, 07:40:57 AM
After upgrade witout problem we have the same problem as described above.

thnks

: Re: upgrade to 1.5.1, documents toolbar no longer visible
: ignacio 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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet August 05, 2009, 06:10:08 PM
No, I get this:

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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: ignacio 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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet August 05, 2009, 06:33:56 PM
Ok, downloaded a fresh copy then replaced the existing file, now I get this:

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
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet 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:

:
$page->addRelLink(with_slash(ROOT_URL).$src, 'shor
will try again a third time.....
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: ignacio August 05, 2009, 06:41:53 PM
I recommend you using a more reliable upload mechanism, like scp or rsync if available to you.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet 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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: ignacio August 05, 2009, 06:52:27 PM
Lol
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet 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:

:
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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: ignacio 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! :)
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet August 05, 2009, 07:10:19 PM
Okay, both of those problems are solved, no problem, thank you!
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: afrofur August 05, 2009, 08:23:55 PM
Thanks ignacio. All good with the patches in place.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: mrsteveman1 August 05, 2009, 11:12:04 PM
Seems ok here, thanks :)
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: max 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.
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: salival August 06, 2009, 05:47:10 PM
I have no luck when trying to download the page.php file. Could somebody upload it again?
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: max 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)
: Re: upgrade to 1.5.1, documents toolbar no longer visible
: Pet 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!