| 302: lj_dev |
[Oct. 10th, 2007|02:19 pm] |
In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same conversations we've been having here can instead be posted to lj_dev.
lj_dev will be the place for everything related to LiveJournal/FotoBilder development topics. This includes both the code itself, client development, as well as installing the code. So, feel free to join the community and participate there. :) |
|
|
| LJ UserSearch |
[Oct. 9th, 2007|08:20 pm] |
The installation of this *almost* works.
There's one problem: If you search on anything but Interest, it will return with no results.
I've tested this using criteria that should've coughed up journals. |
|
|
| New Bug |
[Oct. 6th, 2007|03:18 am] |
There is something wrong with preview. I am running the latest main trunk code.
When you hit preview before posting, this is what you get:
Error running style: Died in S2::run_code running EntryPage::print(): couldn't retrieve anum for entry at /home2/commie/public_html/cgi-bin/LJ/ContentFlag.pm line 391
Thanks. |
|
|
| Another question |
[Oct. 4th, 2007|06:23 pm] |
When I went on a search for FotoBilder, I found information that said it was being "folded into" LiveJournal.
Is this currently or going to be available through the open-source code?
Thanks. |
|
|
| Reporting bugs in the code |
[Oct. 4th, 2007|02:08 am] |
| [ | mood |
| | Sigh-y | ] | I'm just passing on some information I learnt today about how we report bugs.
A post here within the last month said to report them at http://rt.livejournal.org/. Looks like that's changed. :-/
I tried to use the bugtracker today, and couldn't. So, I asked in LiveJournal.com Support:Hi, The RT bugtracker isn't allowing users to create new tickets in the 'Bugs' queue. Well, it isn't allowing me to at least! The 'Quick Ticket' creation menu only allow tickets to be created in other queues (DJabberd, Gearman, Memcached, MogileFS, & Perlbal). None of the other menus seem to lead to a page to create new tickets from. Oh, I log into it with my LiveJournal URL in the OpenID field. Thanks. I got the following reply:The RT bugtracker has been decommissioned, and it is no longer possible to create new tickets in it. If you would like to report a bug, please open a support request describing the issue. The support volunteers can then verify the issue and inform the developers if necessary. So far as I know you can't provide attachments on support requests, nor can others make (unscreened) comments on them without you sharing your request auth code (which is frowned upon I think). Anyway, done passing on. |
|
|
| Has anyone ever used this command? Need proper syntax |
[Sep. 30th, 2007|08:36 pm] |
sysban_add <what> <value> [ <days> ] [ <note> ]
what The criterion you're blocking value The value you're blocking days Length of the ban, in days (or 0 for forever) note Reason why you're setting this ban
The "days" and "note" are self-explanatory but what are the valid values for "what" and "value"? |
|
|
| Problem with login in fresh LJ installation |
[Sep. 30th, 2007|09:37 pm] |
| [ | mood |
| | confused | ] | Ok, i try second time and reinstall LJ from scratch. I use this
http://wiki.ljcode.org/index.php?title=LJ_Server:Installation#Installing_Perl
This time all goes fine and all installed and init without problems and any errors.
I also change system password.
So i start apache and try to login and ... nothing it accept login/password and redirect me to main page. If i register new user i have same thing...
Here apache logs:
Access logs:
10.10.150.213 - - [30/Sep/2007:21:47:27 +1200] "GET /login.bml HTTP/1.1" 200 9655 10.10.150.213 - - [30/Sep/2007:21:47:35 +1200] "POST /login.bml HTTP/1.1" 302 294 10.10.150.213 - - [30/Sep/2007:21:47:35 +1200] "GET / HTTP/1.1" 200 9858
Error logs:
[Sun Sep 30 21:45:31 2007] [notice] Apache/1.3.34 (Ubuntu) mod_perl/1.29 configured -- resuming normal operations [Sun Sep 30 21:45:31 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
thats all no errors or etc
P.S. if i use wrong password i have a error, so i just dont know what to do ;( |
|
|
| ljcode keeps redirecting to itself |
[Sep. 29th, 2007|10:25 pm] |
I'm trying to get a version of the ljcode set up here, and it's a pretty simple out-of-the-box installation, but it keeps returning 302 Found and redirecting back to itself whatever page you attempt to load.
marnanel@charcoal:~$ wget -S http://hostname/login.bml --22:27:13-- http://hostname/login.bml => `login.bml' Connecting to hostname|1.2.3.4|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Sun, 30 Sep 2007 02:27:11 GMT Server: Apache/1.3.34 (Ubuntu) PHP/4.4.2-1build1 mod_perl/1.29 Location: http://hostname/login.bml Connection: close Content-Type: text/html; charset=iso-8859-1 Location: http://hostname/login.bml [following] --22:27:13-- http://hostname/login.bml => `login.bml' Connecting to hostname|1.2.3.4|:80... connected. ... etc
and it causes a spew of these errors to Apache's error log:
Subroutine BML::ML::FETCH redefined at /home/marnanel/proj/lj/server/cvs/livejournal/cgi-bin/Apache/BML.pm line 1920. Subroutine BML::ml redefined at /home/marnanel/proj/lj/server/cvs/livejournal/cgi-bin/Apache/BML.pm line 1914. Unable to add Blockwatch hooks to Cache::Memcached client object: Can't locate object method "add_hook" via package "Cache::Memcached" at /home/marnanel/proj/lj/server/cvs/livejournal/cgi-bin/LJ/Blockwatch.pm line 344.
I've spent a while digging around trying to figure out what all this means fruitlessy; does anyone have a spare clue they can give me? |
|
|
| User Search almost works |
[Sep. 14th, 2007|12:05 pm] |
| [ | mood |
| | tired | ] | Okay -
I successfully installed LJ::UserSearch according to the directions.
I no longer get an error when I try to search with other critera than interests (interest searches have always worked); however, there are no results returned when using the general search form, period.
I've downloaded the fresh LJ::UserSearch as per changelog and installed it, as well as replacing the interests.bml file as the fix told.
NOW what am I missing? LOL! |
|
|
| Missing Capability Class(es) |
[Sep. 11th, 2007|11:10 pm] |
There seems to be missing Capability Classes.
This is the list I have.
The classes I'm referring to govern link lists under S2 styles. Setting 's2everything' to 1 doesn't cover the link list.
From what I can tell, there should be two user capabilities - one granting use of the link list, and the other limiting how many links a person can have. The minimum is five but as we all know from using LJ, the amount can be extended.
What ARE these cap classes? I tried link_list for granting the priv but it doesn't seem to get rid of the message "Your account type does not permit you to use any more links." at the bottom, though it will let you use the 5 link slots. |
|
|
| Syndication Feed "Posting Error" |
[Sep. 10th, 2007|06:04 pm] |
Syndication is set up and working; however, entries are not being posted, and if you go to the profile page for the feed, you see "Posting Error".
Example here: bbc_rss
Is there a perl module missing from the list here that needs to be installed? Is it a style template issue?
All available variables in ljconfig.pl are set:
$SYND_CLUSTER = 1; 'synd_create' => 1, (Right now I have this set up to work with perm accounts only) $SYN_LASTN_S1 = 1;
Are there any variables not coded into the original ljconfig that need to be added? |
|
|
| Syndicated feeds |
[Sep. 9th, 2007|02:43 am] |
| [ | mood |
| | curious | ] | Are syndicated feeds supposed to work "out of the box" or is there something that has to be done to set them up? |
|
|
| Embedded Media |
[Sep. 7th, 2007|11:01 am] |
Embedded Media does not show up properly on an LJ installation "out of the box". I filed it as a bug report and Abe informed me there is something that needs to be set up for this.
OK - what needs to be set up so embedded media shows up properly? Heh.
Thanks. |
|
|
| Site-specific user emails - am I missing something or is it a bug? |
[Sep. 7th, 2007|09:08 am] |
I can't get site-specific user emails to work (user@domain.com).
I have the following turned on in ljconfig:
$USER_EMAIL = 1; $USER_DOMAIN = $DOMAIN; $MAILSPOOL = '/home2/commie/mail'; 'useremail' => 1, $SENDMAIL = "/usr/sbin/sendmail -t";
The site itself sends mail fine, but I created the system email addresses through the account.
Am I missing something or is this a bug? |
|
|
| Setting Up the FAQ - Category Problems |
[Sep. 5th, 2007|08:37 pm] |
I searched back a full year, and did not find an answer to this one.
As far as I can tell, you have to use the admin console to set up FAQ categories. The documentation on the faqcat command is kinda sketchy - for instance, what value do you put in for sort order field? Is it an integer, like 1, 2, 3, or a value, like ascending or descending?
I created a category called "How Do I..." like this:
faqcat add 1 "How Do I..." 1
That seemed to go through...but now the category is not showing up in the drop-down list on the page where you add FAQ entries.
Anyone else figured this all out? |
|
|