[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#651944: Feedback on the (unreleased) package



On 23:41 Thu 21 Mar     , Carsten Pfeiffer wrote:
> Hi,
> 
> thanks a lot for packaging friendica! I was eager to try it out, so I got the 
> source package and built it on a Debian stable box (with some necessary jquery 
> packages from backports).
> 
> Here's some feedback that might be used to improve the package:

Thank you carsten for trying out the package!

> 
> - installation of the package went smooth, it asked for the db
> details, etc.

That is nice!

> - after that finished, I found a /etc/apache2/conf.d/friendica.conf, which I 
> replaced with the apache2.subdomain.conf from the doc examples
> directory

I see did the friendica.conf didn't work? Did you face some error?

> - had to remove a space in the "order allow, deny" option (between allow and 
> deny)

Let me reverify the conf files it was created by tobias

> - the web interface was available, but it showed the installer (is that 
> supposed to happen?)

Yeah for now it should get you installer. I'm not sure if that can be
automated may be friendica devs can answer (hint hint Tobias)

> - installer complained about /usr/share/friendica/.htaccess not being 
> available and not creatable either, so I created the file and made it
> writable

Weird I think I fixed in the last week upload to mentors! Did you try
this with which package?

> - instead of continuing with the installer, I copied 
> /etc/friendica/htconfig.php to /usr/share/friendica/.htconfig.php

I see when you use web installer it gets created.

> - however then apache always segfaulted

Umm.. That is weird!

> - I manually created the database with /usr/share/friendica/database.sql and 
> finally got friendica up and running

Uh was the database.sql was missing in installation? I'm not sure what
might have gone wrong.

> 
> However, some more fixes were needed:
> - uploading a profile picture only resulted in a black image, because some 
> javascripts were not found. I had to create a symlink

I thought I fixed these symlinks but alas I need to look again.

> /usr/share/friendica/cropper/lib/prototype.js to the system installed 
> prototype.js, then remove the directory 
> /usr/share/friendica/library/cropper/lib directory and finally create a symlink 
> /usr/share/friendica/library/cropper/lib to
> /usr/share/friendica/cropper/lib

Weird I will have look again!

> 
> I still found a warning about a type problem in the error log about the profile 
> photo, so I adjusted /usr/share/friendica/mod/profile_photo.php lines 56-59 to 
> cast the POST variables to integer values:
> 
>                 $srcX = (int) $_POST['xstart'];
>                 $srcY = (int) $_POST['ystart'];
>                 $srcW = (int) $_POST['xfinal'] - $srcX;
>                 $srcH = (int) $_POST['yfinal'] - $srcY;
> 
> The javascript console still showed an error in 
> /usr/share/friendica/js/main.js; all accesses to $.someJQuery function or 
> object didn't work. I don't really understand what's going in there (some 
> undesired mangling of '$.'?), but I changed all occurrences of '$.' to 
> 'jQuery.' in js/main.js, so that it looks like this
> 
>         $(function() {
>                 jQuery.ajaxSetup({cache: false});
>          [,,,]
>

Ok Tobias again you need to have a look! Or is the jquery.js modified by
friendica? I prefer it is not to be modified otherwise I need to
duplicate every other js code base in friendica.

> Then online help didn't work at all (internal server error), I had to remove 
> the symlink /usr/share/friendica/library/markdown.php and replace it with the 
> PHP Markdown Extra "markdown.php" from http://littoral.michelf.ca/code/php-
> markdown/php-markdown-extra-1.2.6.zip

The markdown.php on squeeze that might be the reason. I'm not planning
to target friendica to squeeze as it will be soon old stable.

> 
> Finally, everything seems to work :-)

Wonderful! Thank you for taking time to share the problems you faced. I
will see how I can fix these 

Warm Regards
-- 
Vasudev Kamath
http://copyninja.info
Connect on ~friendica: copyninja@{frndk.de | vasudev.homelinux.net}
IRC nick: copyninja | vasudev {irc.oftc.net | irc.freenode.net}
GPG Key: C517 C25D E408 759D 98A4  C96B 6C8F 74AE 8770 0B7E

Attachment: signature.asc
Description: Digital signature


Reply to: