Linuxdelta
September 02, 2010, 07:46:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Willkommen im neuen Forum
 
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Upgrade to 0.9.9 from 0.9.8.6 bad?  (Read 1920 times)
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« on: July 06, 2009, 07:40:00 PM »

I upgraded to 0.9.9 stable as I am unable to upload files larger than 1MB (thought a new version would fix that as I tried updating php.ini, and a bunch of other things) Version I had working (except 1M+ uploads) is 0.9.8.6.

Anyways, index.php showed everything blank. Admin back-end worked with admin admin even though I had set a different password (not a biggie). To solve the blank pages I disabled libsecure. Now I get a weird escaped/un-escaped 'e' at the top of all pages followed by a '?>' And I am still not able to upload files larger than 1MB (I get the binary content of the files spit back at me displayed on the browser...)

Any help appreciated!

EDIT:

On the Admin backend I can only manage extensions, no config for the rest of KR... and on the admin page I also get the "e ?>" thing...
« Last Edit: July 06, 2009, 08:29:15 PM by smartsaga » Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #1 on: July 06, 2009, 08:38:28 PM »

The "e ?>" was a typo made when copying the config.php...

Still would appreciate help with the admin side and the upload problem... Thank you.
Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #2 on: July 07, 2009, 09:26:48 PM »

Adding to the list of problems upgrading to 0.9.9 from 0.9.8.6...

No FCKEditor when editing content (just a plain text input box/text area) and the thing does not have rights to delete install.php update.php and cannot create folders when downloading/importing extensions... WFT? What did I do wrong?Huh?
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #3 on: July 07, 2009, 11:04:19 PM »

Hi,

i will try to get the same problems on update process.

For the upload problem. This could have multiple reasons. But step by step and i need some informations from you:
Which php/apache/mysql version?
Windows or Linux?
What values has your mysql max_allow_packet setting?
What value has table settings and name knowledgeroot.maxfilesize? sql: select value from settings where name='knowledgeroot.maxfilesize'
What extensions are used?

Frank
Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #4 on: July 08, 2009, 12:13:24 AM »

I went back to ver 0.9.8.6 as it is the one working (except the uploads)

Windows Server 2k3 IIS 6.0 (already checked the ASPMaxwhatever... did not work, I know ASP only)
PHP 5 - PHP.ini has post and upload size set at 30M
MySQL 5.0 - with strict disabled - max_allow_packet set to 1M (I'm guessing this is the problem, but changing it to 30M and restarting MySQL and IIS did not solve it, maybe I missed something?)
knowledgeroot.maxfilesize =  5242880000

Extensions:
  • class for clean up database   dbcleaner   0.1   download   devel   disable
  • class for history of content   history   0.3.1   download   beta   disable
  • class for secure knowledgeroot   libsecure   0.2.3   download   devel   disable
  • class for adding web-editable diagrams to page content items   livediagram   0.2.1   download   devel   disable

And this is what I get every time I try to upload a file larger than 1 Meg:

[2009-07-07 16:02:20] [ERROR]: ERROR IN QUERY: "INSERT INTO files(belongs_to,file,filename,filesize,filetype,owner) VALUES (23,'s:1745724:\"%PDF-1.4 %���� 501 0 obj <> endobj xref 501 28

Tnx!!!!
Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #5 on: July 08, 2009, 12:26:31 AM »

Aha!!!!

I had to download MySQL GUI tools to edit the config and changing the setting for the max_packet_whatever_size under the advaced networking settings and restarting did the trick...

And... I just noticed version 0.9.9.1 was released today not long a go....

Thnx Frank!
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #6 on: July 08, 2009, 11:06:33 PM »

So,

any questions left?

Frank
Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #7 on: July 08, 2009, 11:32:52 PM »

Yes, Frank.

In trying to use version 0.9.9.1 I discovered that FCKEditor was available as an extension and it worked after import.

On using 0.9.9.1 I now get:

  • Notice: Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES' in C:\Inetpub\wwwroot\kb\system\php-gettext\gettext.inc.php on line 43
  • Notice: Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES' in C:\Inetpub\wwwroot\kb\system\php-gettext\gettext.inc.php on line 51
  • Notice: Use of undefined constant LC_MESSAGES - assumed 'LC_MESSAGES' in C:\Inetpub\wwwroot\kb\system\php-gettext\gettext.inc.php on line 143
  • Notice: Undefined index: delete in C:\Inetpub\wwwroot\kb\extension\livediagram\class-livediagram.php on line 39

The last message goes away if I disable the live-diagram extension. I know I can disable the errors in PHP.ini (me thinks). Question is, are those messages anything I would have to worry about?

Thanks.
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #8 on: July 09, 2009, 08:21:09 AM »

Hi,

this is nothing you need to be worry about.
But this is not fine Wink I am working on the next bugfixrelease. I will add this as ticket so that it will be fixed!

Version 0.9.9.2 roadmap: http://trac.knowledgeroot.org/cgi-bin/trac.cgi/milestone/0.9.9.2
Tickets:
http://trac.knowledgeroot.org/cgi-bin/trac.cgi/ticket/117
http://trac.knowledgeroot.org/cgi-bin/trac.cgi/ticket/118

Thanks for the feedback.

Frank
Logged
smartsaga
User
*
Offline Offline

Posts: 12


View Profile
« Reply #9 on: July 13, 2009, 08:41:57 PM »

I spoke too soon...

Now all the files on the database download with size 0 bytes... I checked the database and the files are there, I just can't get them to download at all...

If I upload a file and try to download it then it works, but all files uploaded previous to the upload are toasted.

Any ideas?
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #10 on: July 13, 2009, 08:48:34 PM »

Hi,

yes. I fixed a problem with php serialize in the version 0.9.9.1. So if you use this version all new files will be saved different then the old ones. I added support for the old method but new uploaded files use the new method to save.
So for you files that makes problem are using the old method.
You should add these files again so that it works.

Hope this helps.

Frank
Logged
scio2005
User
*
Offline Offline

Posts: 3


View Profile
« Reply #11 on: July 15, 2009, 02:24:20 PM »

I have this problem too and I can't solution it:

"No FCKEditor when editing content (just a plain text input box/text area)"

Can anyone help me? Thanks
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #12 on: July 15, 2009, 02:36:55 PM »

Hi,

what knowledgeroot version?
Which extensions are installed?
Windows/Linux?
PHP Version?

Frank
Logged
scio2005
User
*
Offline Offline

Posts: 3


View Profile
« Reply #13 on: July 15, 2009, 08:17:25 PM »

Sorry:

knowledgeroot version: 0.9.9.1
extensions: none
OS: Linux (Ubuntu Server 8.04)
PHP versión: 5.2.4-2ubuntu5.3

Thank you
Logged
admin
Administrator
User
*****
Offline Offline

Posts: 406


View Profile WWW
« Reply #14 on: July 15, 2009, 08:32:44 PM »

Hi,

go to admin interface and install fckeditor or tinymce!

Frank
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!