Re: https://github.com/php/web-doc - where can I find shared/templates?
| From: | Maciej Sobaczewski | Date: | Wed, 16 Jul 2014 12:09:55 +0000 |
| Subject: | Re: https://github.com/php/web-doc - where can I find shared/templates? | ||
| References: | 1 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-2404@lists.php.net to get a copy of this message | ||
Hello Rogerio,
those shared templates are rsynced from web-shared into shared/ directory. So you basically need to clone/copy web-shared into web-doc/shared and probably set up your hosts properly to use shared.php.net in local developement.
Besides that, it is probably good idea to host this site on domain name similiar do *.php.net (for example doc2.php.net) because web-shared contains some ifs looking for *.php.net
If you need further help, let me know.
Regards,
Maciej.
Hello, I trying to contribute to https://github.com/php/web-doc, but I got some errors about missing folders: [Wed Jul 16 08:58:12 2014] PHP Warning: require(/my/path/to/web-doc/include/../shared/templates/header.inc): failed to open stream: No such file or directory in /my/path/to/web-doc/include/lib_general.inc.php on line 41 [Wed Jul 16 08:58:12 2014] PHP Stack trace: [Wed Jul 16 08:58:12 2014] PHP 1. {main}() /my/path/to/web-doc/www/index.php:0 [Wed Jul 16 08:58:12 2014] PHP 2. site_header() /my/path/to/web-doc/www/index.php:4 [Wed Jul 16 08:58:12 2014] PHP Fatal error: require(): Failed opening required '/my/path/to/web-doc/include/../shared/templates/header.inc' (include_path='.:/my/path/to/pear:/my/path/to/php:/my/path/to/php') in /my/path/to/web-doc/include/lib_general.inc.php on line 41 [Wed Jul 16 08:58:12 2014] PHP Stack trace: [Wed Jul 16 08:58:12 2014] PHP 1. {main}() /my/path/to/web-doc/www/index.php:0 [Wed Jul 16 08:58:12 2014] PHP 2. site_header() /my/path/to/web-doc/www/index.php:4 [Wed Jul 16 08:58:12 2014] ::1:54294 [200]: / - require(): Failed opening required '/my/path/to/web-doc/include/../shared/templates/header.inc' (include_path='.:/my/path/to/pear:/my/path/to/php:/my/path/to/php') in /my/path/to/web-doc/include/lib_general.inc.php on line 41