Recent Forum Posts
From categories:
page 1123...next »

Great, great, great!!!!!

This is the first site where i can found a true solution!
Thanks a lot, Adriano.

and.. What are thinking about de IE developers when put this parameter????????????

Sounds Great...
ZasurusZasurus 1265800719|%e %b %Y, %H:%M %Z|agohover
in discussion Hidden / Per page discussions » Some News

I have over the past few weeks created my first wiki on wikidot.com (I had used wowwiki.com but never edited/updated a wiki) so have gotten use to how it works and what I can and can't do with it. Recently it occurred to me that if we used a wiki for our documentation for code changes (in our in-house system) this would be MUCH more versatile than loads of word documents…
So when I started digging to find a free wiki we could install in the security of our own system and found you have already opened the source to wikidot.com and are about(ish) to open it again from the current branch and everything I have come to understand on wikidot.com I was so please. There will be no relearning the changes and anything I learn from my wiki on wikidot.com could be applied straight to using our local copy and all of our documentation.
Thanks for all the hard work and keep it up! I can’t wait until you manager to release the new version!

Regards,

Zas

Sounds Great... by ZasurusZasurus, 1265800719|%e %b %Y, %H:%M %Z|agohover

I've suggested this on Wikidot.com forum (http://community.wikidot.com/forum/t-214639/seo:canonical-page-and-noindex-on-lacking-pages):

Wikidot already supports some tags needed for SEO (Search Engine Optimization), but it lacks 2 features that are a "must" for SEO.

(…)

Robots tag = "noindex"

Secondly, Wikidot could use the code bellow on non-existing pages, so that the search engines won't index pages with that default text:

> + The page does not (yet) exist.
>
> The page blablabla you want to access does not exist.
>
> * create page

This is not only duplicated content, but also hides our real contents behind these "keywords": "page", "exist", "create"… This is specially true on newly created wikis, not fully populated yet.

The code needed on these pages is:

[[code type="HTML"]]
<head>

<meta name="robots" content="noindex" />

</head>
[[/code]]

The same could be done to admin:manage (anyone wants it to appear on Google?).

Doing a quick search on Wikidot.org source files, I think I've found a way of implementing it. Maybe the solution for the robots=noindex on not found pages might be like the following (code starts on line 50 of http://github.com/gabrys/wikidot/blob/master/templates/layouts/WikiLayout.tpl):

<? php
// [...] Line 50:
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
  <meta http-equiv="content-language" content="{$site->getLanguage()}"/>
 
// *************** NEW CODE START ***************
  {if $pageNotExists}
    <meta name="robots" content="noindex" />
  {/if}
// **************** NEW CODE END ****************
 
  <script type="text/javascript" src="/common--javascript/WIKIDOT.js"></script>
// and so on...
?>

In my opinion it seems to be an easy solution for that problem of duplicated content and unwanted search keywords.

Robots="noindex" on not found pages by Leandro ArndtLeandro Arndt, 1264682301|%e %b %Y, %H:%M %Z|agohover

That was a hard one.

To access the database via webmin you have to login with the username and password it is run by.
In my case i had to login with:

user: root
pass: myrootpassword

I hope this helps someone - it did help me.
So i was neither a postgres-database problem nor a wikidot one.
It seems so simple but it took me some time to see "the big picture" ;)

/tud-geek

ps: thanks for "Ed Johnson" again!

This is how you log into the postgres database via webmin by ppp-adminppp-admin, 1263327346|%e %b %Y, %H:%M %Z|agohover

Once you have access as postgres, you should be able to change it

http://scratching.psybermonkey.net/2009/06/21/postgresql-how-to-reset-user-name-postgres-password/

hope this helps.

Re: Reset Database? by Dai LoDai Lo, 1262919860|%e %b %Y, %H:%M %Z|agohover
Re: Cannot log in to site once it is set as private by ppp-adminppp-admin, 1262870442|%e %b %Y, %H:%M %Z|agohover

No one has set their site as private and got it working? Or does everyone set up their site as public?

Re: Cannot log in to site once it is set as private by Dai LoDai Lo, 1262849541|%e %b %Y, %H:%M %Z|agohover

If shit hits the fan…

I also did not write down the database password which i need to reset.
After to many attempts to login i get locked out:

*Error - Access denied for 192.168.178.101*

So i need to reset to password for the Database. How to?

Thanks again in advance!

edit: little postgres howto use

change to postgresuser

su postgres

invoke "postgres command line":

psql

list databases

\l

quit psql command line

\q

Still need to figure out how to reset the password…

/tud-geek

Reset Database? by ppp-adminppp-admin, 1262611957|%e %b %Y, %H:%M %Z|agohover

You're welcome.

php -v still says cli.

This should always say cli, because this is the binary you call from commandline (cli). This however should say cgi-fcgi:

php-cgi -v
php5-cgi -v

Cheers!


Piotr Gabryjeluk, Wikidot Inc.
visit my blog

Re: Page does not load. Please help! by GabrysGabrys, 1262594977|%e %b %Y, %H:%M %Z|agohover

Thank you Ed,

i will try your suggestion and it is the solution i was searching for.
Webmin should be the right tool even for nebies in database stuff

I will report back!

/tud-geek

Re: Locked out: howto "unprivate" page? Login page gone by ppp-adminppp-admin, 1262590266|%e %b %Y, %H:%M %Z|agohover

Hi,

I have just set up a site recently, thanks to the help of Gabrys! :)

I would like to set my site as private though and has come in a little problem. I have set my page as private, and set it to show the page auth:login if user is unauthorized. So far so good.

However, I can't log in once the site is set as private! I currently have two admin accounts and both are members of my site. But when whenever I try logging in, it will say:

Error
Oooops!
This Site is private and accessible only to its members.

Good thing when I was trying that, I was using the accounts from two different computers at the same time. When this happened, one of the accounts was still logged in, and I was able to set it to be public again.

Is this a bug of some sort? It seems that to actually log in, user should already have access to the site first as a member and should be logged in first. But thats a recursive loop…………??!!??

Does anyone know a way around this?

Thanks,
Alex

Cannot log in to site once it is set as private by Dai LoDai Lo, 1262585855|%e %b %Y, %H:%M %Z|agohover

I was able to the line in the single_wiki.conf file.
But executing php -v still says cli.

So I actually went ahead and installed php5-cgi again. And once thats done, reboot, run make again, and it is running! I can get to my page!

So php5-cgi was somehow missing since the beginning. It is either not installed, or not properly installed when installing all the packages together (I reinstalled everything from scratch 3 times before I started asking for help here). Which is weird.

Thank you very much for all your help Gabrys! :)

Re: Page does not load. Please help! by Dai LoDai Lo, 1262584239|%e %b %Y, %H:%M %Z|agohover

Install Webmin on your server and log into Webmin using https://www.yourserver.com:10000/ (or use https://xxx.xxx.xxx.xxx:10000/ where the xxx's are your internal IP address). Under servers you should see "PostgreSQL Database Server".

Select that and then your Wikidot database. Open the "site" table and then "View Data". Find your site that you set private, edit the record and change the private field to "f" (for false). Save the changes and you should be able to get back in.

Once you're up and running again, you should create a system:join page that consists of this code:

[[note]]
Please change this page according to your policy (configure first using [[[admin:manage|Site Manager]]]) and remove this note.
[[/note]]

+ Who can join?

You can write here who can become a member of this site.

+ Join!

So you want to become a member of this site? Tell us why and apply now!

[[module MembershipApply]]

Or, if you already know a "secret password", go for it!

[[module MembershipByPassword]]

This is based on an older revision of WDOS (rev 393), so things might have changed in newer versions. Webmin is a great tool for remotely managing small changes in the wikdidot database. Hope this helps.

-Ed

Re: Locked out: howto "unprivate" page? Login page gone by Ed JohnsonEd Johnson, 1262579776|%e %b %Y, %H:%M %Z|agohover

Hello,

i locked myself out by turning the site private on my homenetwork-server.
There is no, at least i do not see one, possible way to access the login page.

The login page looks like:
The page does not (yet) exist.

The page system:join you want to access does not exist.

create page

and when i click on edit i see:

Error
Oooops!

This Site is private and accessible only to its members.

Any help is appreciated!
Thanks in adcace.

/tud-geek

Locked out: howto "unprivate" page? Login page gone by ppp-adminppp-admin, 1262571890|%e %b %Y, %H:%M %Z|agohover

locate the line

"bin-path" => "/usr/bin/php5-cgi"

in conf/lighttpd/single-wiki.conf

execute that command with "-v" and check if it says cgi or cli. (You should have php5-cgi installed before).


Piotr Gabryjeluk, Wikidot Inc.
visit my blog

Re: Page does not load. Please help! by GabrysGabrys, 1262472017|%e %b %Y, %H:%M %Z|agohover

So I ran 'php -v' and it turns out I am not running cgi-fcgi, but cli instead.

PHP 5.2.10-2ubuntu6.3 with Suhosin-Patch 0.9.7 (cli) (built: Nov 26 2009 14:42:49)

Re: Page does not load. Please help! by Dai LoDai Lo, 1262462538|%e %b %Y, %H:%M %Z|agohover

Here it is. Thanks.

2009-12-29 22:17:27: (log.c.97) server started
2009-12-29 22:17:27: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2009-12-29 22:17:27: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2009-12-29 22:17:27: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2009-12-29 22:17:27: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2009-12-29 22:17:27: (server.c.902) Configuration of plugins failed. Going down.
2009-12-30 13:53:26: (log.c.97) server started
2009-12-30 13:53:26: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2009-12-30 13:53:26: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2009-12-30 13:53:26: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2009-12-30 13:53:26: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2009-12-30 13:53:26: (server.c.902) Configuration of plugins failed. Going down.
2009-12-30 17:10:21: (log.c.97) server started
2009-12-30 17:10:21: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2009-12-30 17:10:21: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2009-12-30 17:10:21: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2009-12-30 17:10:21: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2009-12-30 17:10:21: (server.c.902) Configuration of plugins failed. Going down.
2009-12-30 17:59:24: (log.c.97) server started
2009-12-30 17:59:24: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2009-12-30 17:59:24: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2009-12-30 17:59:24: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2009-12-30 17:59:24: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2009-12-30 17:59:24: (server.c.902) Configuration of plugins failed. Going down.
2010-01-01 15:00:18: (log.c.97) server started
2010-01-01 15:00:18: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2010-01-01 15:00:18: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2010-01-01 15:00:18: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2010-01-01 15:00:18: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2010-01-01 15:00:18: (server.c.902) Configuration of plugins failed. Going down.
2010-01-02 11:16:03: (log.c.97) server started
2010-01-02 11:16:03: (mod_fastcgi.c.1051) the fastcgi-backend /usr/bin/php5-cgi failed to start:
2010-01-02 11:16:03: (mod_fastcgi.c.1055) child exited with status 2 /usr/bin/php5-cgi
2010-01-02 11:16:03: (mod_fastcgi.c.1058) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2010-01-02 11:16:03: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi failed.
2010-01-02 11:16:03: (server.c.902) Configuration of plugins failed. Going down.

Re: Page does not load. Please help! by Dai LoDai Lo, 1262460968|%e %b %Y, %H:%M %Z|agohover

Do you have conf/lighttpd/wikidot_ini.conf file? Or just wikidot_ini.conf.orig? If only the latter, you need to run

bin/configure.php

Once you have both *.ini files in conf/wikidot, go to your Wikidot root directory and run this as root:

lighttpd -D -f conf/lighttpd/single_wiki.conf

This is what Wikidot calls in order to run Lighttpd. Additionally here's the -D flag, that makes Lighttpd not go to background. If errors don't show on the consele, they should be logged to tmp/lighttpd/error.log (in Wikidot root directory).

Put here any errors on console or logged to file.


Piotr Gabryjeluk, Wikidot Inc.
visit my blog

Re: Page does not load. Please help! by GabrysGabrys, 1262421303|%e %b %Y, %H:%M %Z|agohover

Thanks once again for the fast reply!

port 8080 is not being listed. So I guess wikidot is not binding to lighttpd properly. What should be configured so that it would bind to lighttpd? Thanks.

Alex

Re: Page does not load. Please help! by Dai LoDai Lo, 1262392449|%e %b %Y, %H:%M %Z|agohover

After issuing "wikidotctl start" check if the service is running by issuing (by root):

  1. netstat -natp | grep lighttpd

This should return at least two lines, one for default :80 lighttpd server, second for lighttpd run from wikidotctl. If you have indeed two different ports listed (for example :80 and :8080) try http://127.0.0.1:8080/ in your browser to see what Lighttpd has to say :-).


Piotr Gabryjeluk, Wikidot Inc.
visit my blog

Re: Page does not load. Please help! by GabrysGabrys, 1262346099|%e %b %Y, %H:%M %Z|agohover
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License