English « Bug tracker «
Blank Pages in Section - not resolved to date - please help
Problems with blank pages in parts of the site after install
| Propriétaire | Mann Zaph |
| Avancement | ![]() |
| Workflow | Besoin d'aide |
| Statut | Le problème a été enregistré
|
APPENDED June 11: This install gives strange errors in a host sitethat runs other CMSs OK. Still not resolved - can anyone help?
Hi, First thank-you I installed and a site where I could work on content inside three hours - amazing! This promises to be the best CMS I have seen.
But I seemingly have something set up slightly wrong:
After setting up my site, I populated it with the first option that puts in sample articles, blogs etc.
Then in Files · My blog · My jive discussion board · My manual · My Section I clicked on cover section. It gave me a blank page with the URL pointing to a php in section with an ID=.
THIS also happened when I clicked on my site map (balnk page).
THEN I clicked on modify this one - that took me to an editor space, into which I typed a basic article. When I hit SUBMIT once again I got a blank screen with this URL: http://www.morethanoil.com/articles/view.php?id=1
However, opening another tab in my browser I see the submit was taken??
What have I got wrong?
Thanks Zaph
PS: This CMS is amazing!

Hi, First thank-you I installed and a site where I could work on content inside three hours - amazing! This promises to be the best CMS I have seen.
But I seemingly have something set up slightly wrong:
After setting up my site, I populated it with the first option that puts in sample articles, blogs etc.
Then in Files · My blog · My jive discussion board · My manual · My Section I clicked on cover section. It gave me a blank page with the URL pointing to a php in section with an ID=.
THIS also happened when I clicked on my site map (balnk page).
THEN I clicked on modify this one - that took me to an editor space, into which I typed a basic article. When I hit SUBMIT once again I got a blank screen with this URL: http://www.morethanoil.com/articles/view.php?id=1
However, opening another tab in my browser I see the submit was taken??
What have I got wrong?
Thanks Zaph
PS: This CMS is amazing!
| Manu | - Impossible to remove Sites/_yacs_to_remove. - Sub folders of _yacs_to_remove are owned by www/wheel with 775 rights and morethan/wheel has no rights on them ! - Sites/yacs/control/setup.php shows the same writing errors as my screenshot (your host service can look at it). - Your other folders as JoomlaSites are not in the same group : morethan/www (www group, not wheel) ! Can they try to take a look for these users and groups in the diffrent configurations (Unix, Apache, PHP, MySql, Ftp) ? I put the .htaccess (apache configuration file) but every commands are commented (disabled) so it doesn't change anything at this time. I am sorry to take all this time but this users/groups trouble is the last way for me to help you, after that i won't know what to do else.
|
| Mann Zaph | The htaccess file is now 'switched on', although I can't see it with my ftp client I am assured that it is there. They had no insight on a PHP global parameter - if this is still important please give me more detail to talk to them about it. Do you want me to install now, or do you want to do it? And what do you want to do with the Sites/_yacs_to_remove folder? And finally, thank-you, again. Zaph
|
| Manu | I forgot to say that your site looks to run behind a proxy and i don't know if that makes troubles or not.
|
| Manu | - .htaccess are not allowed. - Found some re-declarations in sections layouts but works on every other host service ... Maybe a PHP global parameter ? - - As you can see, i am uploading yacs from scratch but all done by the old installation (scripts) connot be removed or changed with the ftp user (see Sites/_yacs_to_remove). Do you have a "webmin" access ? Ask your host service about this two different users and how to remove by ftp the files and folders done by scripts ? I think that this is a big problem because yacs (www/wheel) cannot write on his files uploaded by morethan/wheel if this one doesn't give all rights (777). That's could be the reason of all your problems. |
| Mann Zaph | I ask because if your patch is specific to one or the other I should probably set it up the way it would stay. Not knowing where to go with this at the moment I am tempted to reinstall, but there's no particular logid to that. Bernard - any new ideas? thanks Zaph
|
| Mann Zaph | I added the two files unzipped - they are small anyhow. The file loader rejects certain types of file (including php) so here are the contents of control.include.php as it is at the site: My root is /Sites (plural) My yacs folder is /yacs If I typed yaks (with a K) somewhere in a message that was a typo only. Hope this all helps - I'll be waiting!
|
| Manu | I connot read the zip archives, the files included are extracted at 0 byte. Whitch software do you use ? i have 7-Zip. Can you send me your paramters/control.include.php hee too ? |
| Manu | Is there any /control or /global directories at your root (...morethanoil/Site/) ? Rename them if any. Do you have a .htaccess at yout root ? If yes, rename it too. Put the patch and go directly to the test page or the sitemap. If it doesn't work, stop tests and tell us.
|
| Mann Zaph |
|
| Mann Zaph | I have looked at the php code a bit - very impressive - much better documentation within the code than what I normally have seen - it convinces me that this is worth solving and that yacs, while ambitious, is probably the best choice. Z - AH The file attch was denied This type of file is not allowed.
So... I don't like to put all this text in the message but... I'll edit and start in from a week or so ago... of course some of these errors are other sites trying to reach mine and some of yacs ones were initial setup issues.
and try to reattach... but I don't see an attach in edit mode, so I'll send a new message with attachment.
|
| Mann Zaph | If I just go to home with a normal installation (original global/php) and do nothing I have in the top left corner Menu » Home » Site Map » Categories » Users » Help These last three options work, but http://www.morethanoil.com/yacs/sections/index.php gives a blank page. So just for fun I copied another index.php from categories to replace the sections/index.php http://www.morethanoil.com/yacs/sections/index.php then gave me the categories page successfully. So - the index.php code in sections is doing something fundamentally different from the other index.phps. I am printing the code (though no expert) to see what this difference might be. Thanks for your help so far - any other experts out there to help?? |
| Mann Zaph |
I carefully installed te new patch, leaving the original global.php in place long enough to purge cache from the control panel (and this time I purged the first 3 radials and the last), also, different browser and cleared that cache.Once I put the new patch in place only blank windows whatever I try to get to by using the back button and selecting a place, or by direct URL typing. No error messages. To get a complex post test, I switched back to the original global.php (if the test is valid after that I don't know - but it's the only way I can get it), the result is below: There are a few differences but the critical line is still the same... " $context['path_to_root']=../ " Submitted request: $_REQUEST['a']=B $_REQUEST['hello']=world $_REQUEST['fontSize']=76 $_REQUEST['PHPSESSID']=vja18ss0v247883jgbshaisoq7 Script args: $context['arguments'][0]=123 $context['arguments'][1]=456 $context['arguments'][2]=789 Cookies sent by the browser: $_COOKIE['fontSize']=76 $_COOKIE['PHPSESSID']=vja18ss0v247883jgbshaisoq7 Session data: $_SESSION['watchdog']=1181350839 $_SESSION['browser_has_flash']=1 $_SESSION['surfer_id']=1 $_SESSION['surfer_capability']=A $_SESSION['surfer_editor']=yacs $_SESSION['surfer_email_address']= $_SESSION['surfer_name']=webmaster $_SESSION['surfer_gmt_offset']=-7 $_SESSION['workstation_id']=71.56.134.105 $_SESSION['server_id']=/yacs/ $_SESSION['heartbit']=7 $_SESSION['test_hits']=2 Session variables are stored correctly if the counter increments on page reload: 3 Global YACS variables: $context['host_name']=www.morethanoil.com $context['url_to_home']=http://www.morethanoil.com $context['url_to_root']=/yacs/ $context['self_script']=/yacs/control/test.php $context['self_url']=http://www.morethanoil.com/yacs/control/test.php/123/456/789?a=B $context['path_to_root']=../ $context['charset']=utf-8 Current Working Directory: YACS version 7.4, 070501-21:24:59 GMT, www.yetanothercommunitysystem.com Server attributes: $_SERVER['CONTENT_LENGTH']=11 $_SERVER['CONTENT_TYPE']=application/x-www-form-urlencoded $_SERVER['DOCUMENT_ROOT']=/Volumes/XRAID01/Users/morethanoil/Sites $_SERVER['HTTP_ACCEPT']=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 $_SERVER['HTTP_ACCEPT_CHARSET']=ISO-8859-1,utf-8;q=0.7,*;q=0.7 $_SERVER['HTTP_ACCEPT_ENCODING']=gzip,deflate $_SERVER['HTTP_ACCEPT_LANGUAGE']=en-us,en;q=0.5 $_SERVER['HTTP_CONNECTION']=keep-alive $_SERVER['HTTP_COOKIE']=fontSize=76; PHPSESSID=vja18ss0v247883jgbshaisoq7 $_SERVER['HTTP_HOST']=www.morethanoil.com $_SERVER['HTTP_KEEP_ALIVE']=300 $_SERVER['HTTP_REFERER']=http://www.morethanoil.com/yacs/control/test.php/123/456/789?a=B $_SERVER['HTTP_USER_AGENT']=Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 $_SERVER['PATH']=/bin:/sbin:/usr/bin:/usr/sbin $_SERVER['REMOTE_ADDR']=71.56.134.105 $_SERVER['REMOTE_PORT']=52199 $_SERVER['SCRIPT_FILENAME']=/Volumes/XRAID01/Users/morethanoil/Sites/yacs/control/test.php $_SERVER['SCRIPT_URI']=http://www.morethanoil.com/yacs/control/test.php/123/456/789 $_SERVER['SCRIPT_URL']=/yacs/control/test.php/123/456/789 $_SERVER['SERVER_ADDR']=10.0.1.209 $_SERVER['SERVER_ADMIN']=webmaster@morethanoil.com $_SERVER['SERVER_NAME']=www.morethanoil.com $_SERVER['SERVER_PORT']=80 $_SERVER['SERVER_SIGNATURE']= Apache/1.3.33 Server at www.morethanoil.com Port 80 $_SERVER['SERVER_SOFTWARE']=Apache/1.3.33 (Darwin) PHP/5.0.4 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l mod_perl/1.29 $_SERVER['GATEWAY_INTERFACE']=CGI/1.1 $_SERVER['SERVER_PROTOCOL']=HTTP/1.1 $_SERVER['REQUEST_METHOD']=POST $_SERVER['QUERY_STRING']=a=B $_SERVER['REQUEST_URI']=/yacs/control/test.php/123/456/789?a=B $_SERVER['SCRIPT_NAME']=/yacs/control/test.php $_SERVER['PATH_INFO']=/123/456/789 $_SERVER['PATH_TRANSLATED']=/Volumes/XRAID01/Users/morethanoil/Sites/123/456/789 $_SERVER['PHP_SELF']=/yacs/control/test.php/123/456/789 System environment: $_ENV['TERM']=xterm-color $_ENV['SHELL']=/bin/sh $_ENV['USER']=root $_ENV['PATH']=/bin:/sbin:/usr/bin:/usr/sbin $_ENV['PWD']=/private/var/root $_ENV['HOME']=/private/var/root $_ENV['SHLVL']=2 $_ENV['_']=/usr/sbin/httpd $_ENV['CF_USER_TEXT_ENCODING']=0x0:0:0 $_ENV['NoNeSuCh']= $_ENV['MODPERL_ENV_FIXUP']= Browser GMT offset: UTC -7 hour(s) Server GMT offset: UTC -7 hour(s) (2007-Jun-09 01:00:40) Output handlers: ['0']=default output handler user/group of this script: morethanoil[337065]/wheel[0] (root) user/group of this process: www[70]/www[70] |
| Manu | Caution ! This patch is done only to make a test for this topic, nothing else. Do not keep it, we will work on this way if it works. Zaphmann.zip
|
| Mann Zaph | " RAM has nothing to do with re-declaration of classes, the server is currently set to 16M per process for PHP. " So, I don't know what they mean by 're-declaration of classes', but 16M per process for PHP was what you wnted so I guess it's not that. Hopefully the codes will reveal a script error that only appears under certain circumstances. Does the environment of their server effect the php somehow? Is yacs tested in an environment such as theirs with a Mac apache server?? I wish I had better understanding so I could help more, , let me know if there's anything else I can try - your s/w seems well worth persisting with. PS - if you need passwords I can email them to you directly perhaps? Tahnks Zaph Edited by GnapZ: Do no show any email address, the one in your profile is the only one should be used here. Modifié par GnapZ le 8 juin 2007
|
Bernard Paques | |
| Mann Zaph | " It is just a test so you can move your actual installation to a sub folder named "yacs" and change manualy the "path_to_root" paramter in parameters/control.include.php by FTP with "/yacs/". "Actually I went though the whole upload and reset permissions process and tried it with yacs in a sub folder The result is the same (for example the site map gives blank page. - it's there now http://www.morethanoil.com/ - you can try yourself. " The max execution memory of PHP (Bernard told you about this a the begining but you didn't tell us the value). Be shure to have more than 8MB (16MB minimum recommended). "I have emailed my host for this info, they didn't think it was a serious possibility when I mentioned it before, they are not at work yet today. " The result of your /control/test.php (click on the complex test button) "Here it is! ?Submitted request: $_REQUEST['a']=B $_REQUEST['hello']=world $_REQUEST['CookiesEnabled']=1 $_REQUEST['art_3']=1180655840 $_REQUEST['art_4']=1180655876 $_REQUEST['art_5']=1180936168 $_REQUEST['REMEMBER_KEY']=00000000001_xn6r9a0yj12 $_REQUEST['PHPSESSID']=7m8jivmeshpgoobm9qm6d2bre3 $_REQUEST['editor']=dhtmlext $_REQUEST['form_mode']=custom $_REQUEST['fontSize']=76 $_REQUEST['style']=Spring coming Script args: $context['arguments'][0]=123 $context['arguments'][1]=456 $context['arguments'][2]=789 Cookies sent by the browser: $_COOKIE['CookiesEnabled']=1 $_COOKIE['art_3']=1180655840 $_COOKIE['art_4']=1180655876 $_COOKIE['art_5']=1180936168 $_COOKIE['REMEMBER_KEY']=00000000001_xn6r9a0yj12 $_COOKIE['PHPSESSID']=7m8jivmeshpgoobm9qm6d2bre3 $_COOKIE['editor']=dhtmlext $_COOKIE['form_mode']=custom $_COOKIE['fontSize']=76 $_COOKIE['style']=Spring coming Session data: $_SESSION['watchdog']=1181312404 $_SESSION['surfer_id']=1 $_SESSION['surfer_capability']=A $_SESSION['surfer_editor']=yacs $_SESSION['surfer_email_address']= $_SESSION['surfer_name']=webmaster $_SESSION['surfer_gmt_offset']=0 $_SESSION['workstation_id']=71.56.134.105 $_SESSION['server_id']=/yacs/ $_SESSION['test_hits']=1 Session variables are stored correctly if the counter increments on page reload: 2 Global YACS variables: $context['host_name']=www.morethanoil.com $context['url_to_home']=http://www.morethanoil.com $context['url_to_root']=/yacs/ $context['self_script']=/yacs/control/test.php $context['self_url']=http://www.morethanoil.com/yacs/control/test.php/123/456/789?a=B $context['path_to_root']=../ $context['charset']=utf-8 Current Working Directory: YACS version 7.4, 070501-21:24:59 GMT, www.yetanothercommunitysystem.com Server attributes: $_SERVER['CONTENT_LENGTH']=11 $_SERVER['CONTENT_TYPE']=application/x-www-form-urlencoded $_SERVER['DOCUMENT_ROOT']=/Volumes/XRAID01/Users/morethanoil/Sites $_SERVER['HTTP_ACCEPT']=*/* $_SERVER['HTTP_ACCEPT_ENCODING']=gzip, deflate $_SERVER['HTTP_ACCEPT_LANGUAGE']=en $_SERVER['HTTP_CONNECTION']=keep-alive $_SERVER['HTTP_COOKIE']=CookiesEnabled=1; art_3=1180655840; art_4=1180655876; art_5=1180936168; REMEMBER_KEY=00000000001_xn6r9a0yj12; PHPSESSID=7m8jivmeshpgoobm9qm6d2bre3; editor=dhtmlext; form_mode=custom; fontSize=76; style=Spring coming $_SERVER['HTTP_HOST']=www.morethanoil.com $_SERVER['HTTP_REFERER']=http://www.morethanoil.com/yacs/control/test.php $_SERVER['HTTP_USER_AGENT']=Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3 $_SERVER['PATH']=/bin:/sbin:/usr/bin:/usr/sbin $_SERVER['REMOTE_ADDR']=71.56.134.105 $_SERVER['REMOTE_PORT']=51456 $_SERVER['SCRIPT_FILENAME']=/Volumes/XRAID01/Users/morethanoil/Sites/yacs/control/test.php $_SERVER['SCRIPT_URI']=http://www.morethanoil.com/yacs/control/test.php/123/456/789 $_SERVER['SCRIPT_URL']=/yacs/control/test.php/123/456/789 $_SERVER['SERVER_ADDR']=10.0.1.209 $_SERVER['SERVER_ADMIN']=webmaster@morethanoil.com $_SERVER['SERVER_NAME']=www.morethanoil.com $_SERVER['SERVER_PORT']=80 $_SERVER['SERVER_SIGNATURE']= Apache/1.3.33 Server at www.morethanoil.com Port 80 $_SERVER['SERVER_SOFTWARE']=Apache/1.3.33 (Darwin) PHP/5.0.4 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l mod_perl/1.29 $_SERVER['GATEWAY_INTERFACE']=CGI/1.1 $_SERVER['SERVER_PROTOCOL']=HTTP/1.1 $_SERVER['REQUEST_METHOD']=POST $_SERVER['QUERY_STRING']=a=B $_SERVER['REQUEST_URI']=/yacs/control/test.php/123/456/789?a=B $_SERVER['SCRIPT_NAME']=/yacs/control/test.php $_SERVER['PATH_INFO']=/123/456/789 $_SERVER['PATH_TRANSLATED']=/Volumes/XRAID01/Users/morethanoil/Sites/123/456/789 $_SERVER['PHP_SELF']=/yacs/control/test.php/123/456/789 System environment: $_ENV['TERM']=xterm-color $_ENV['SHELL']=/bin/sh $_ENV['USER']=root $_ENV['PATH']=/bin:/sbin:/usr/bin:/usr/sbin $_ENV['PWD']=/private/var/root $_ENV['HOME']=/private/var/root $_ENV['SHLVL']=2 $_ENV['_']=/usr/sbin/httpd $_ENV['CF_USER_TEXT_ENCODING']=0x0:0:0 $_ENV['NoNeSuCh']= $_ENV['MODPERL_ENV_FIXUP']= Browser GMT offset: UTC -7 hour(s) Server GMT offset: UTC -7 hour(s) (2007-Jun-08 14:20:04) Output handlers: ['0']=default output handler user/group of this script: morethanoil[337065]/wheel[0] (root) user/group of this process: www[70]/www[70]
|
| Mann Zaph | " "Help search engines to index more pages. (articles/view.php/123)" or "This system does not support the mapping of args in the URL. (articles/view.php?id=123)" ? "I don't recall, pretty sure it was whatever the default is... " I confirm that your path_to_root must be "/". Did you try to install yacs in a sub-driectory to check these errors ? " OK - I notice that at www.yetanothercommunitysystem.com yaks is installed in its own directory beneath the root. ie. http://www.yetanothercommunity...hp/article/2959 - I ditched the yaks level and installed all the files under yaks at my root because I wanted seo efficiency. Q1: Could this cause the problems? Q2: How does the home page come up in Yaks if the file/directory yaks is at that level?? I suppose, to test that I should try an install that way... I will.
|
| Mann Zaph | The only hitch this time was that I used http://www.morethanoil.com/ in the path field and at the end of the rendering I got the 404 because the script had http://www.morethanoil.comhttp...orethanoil.com/ in it (ie twice). So I went back into control panel and instead of that I put in / in the path Things then proceded exactly as before. For example, in the top left under site map I get a blank page from this link: http://www.morethanoil.com/sections/index.php but the 3 links under it in that menu all work fine This is a site crippling problem but also it points to being something about a setting and/or compatibility of php. Time to think laterally & logically.
|
| Mann Zaph | In an effort to resolve this blank page issue I have been in the control panel doing some purging and rebuild efforts, then I tried a few more areas of the site and I went to the sample editor that had been created and tried to change its password, which I did and then I got this extraodinary error: An attempt to go to a url with my url in it twice! " http://www.morethanoil.comhttp://www.morethanoil.com/users/view.php?id=2 " As I haven't gone that far yet, I am going to copy what I can of my input and then purge all fiels at my host, then upload a new copy of YACs and try again. I will report in again in a few hours with an update. Thanks Zaph. |
| Mann Zaph | I spoke at length with my host and they tried hard, they said that blank screens are typically path or php code errors. I had wondered if there was a path error (which causes similar behaviour) and they found that the site had been going to a www.stephouse.net/~morethanoil which is a subdomain off their server and was wrong. This is what was generated by me leaving the / in the Path (URL) to root directory duing install. instead they put http://www.morethanoil.com/ in the Configuration panels... System... Path (URL) to root directory and on their side they now see correct routing. Q: Is that type of setting for path what your system expects or should it be more like /Volumes/XRAID01/Users/morethanoil/Sites as other CMs's have needed? --- Now my favicon shows up! --- But the blank screens continue, for example on the home page top left, under menu, click site map: " http://www.morethanoil.com/sections/index.php "and blank screen... My configuration is: YACS 7.4, 070501-21:24:59 GMT, www.yetanothercommunitysystem.com PHP 5.0.4 MySQL 4.1.13a Apache Apache/1.3.33 (Darwin) PHP/5.0.4 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l mod_perl/1.29 Server time zone UTC -7 hours I love your system, please don't say I have to abandon it!!!! |
| Mann Zaph | The file rights are by default with this server host & my user 644, I changed some to 777 to see if it helped and no difference. " Take a look at your scripts size. I had some troubles with some FTP tools with automatic transfert mode. I all enforce to Binary mode because Ascii mode changes datas (Windows to Linux servers). "I am not to technical and don't understand this, or how to do it. I am on a Mac working via web to my host who is on latest apache, php, mysql etc. I work with them a lot they are like you guys, up to date. Java & Javascrpits are enabled in my browser (Safari) I tried Firefox and got IDENTICAL responses to clicks. " enabled Javascripts for you Yacs URL. "I don't know what this means unless you mean the browser. " Did you try different skins ? "Yes, I am in digital (one of the ones given by the system and I haven't changed anything, I switched to another skin and got IDENTICAL responses. This means it's not the skins, it's not the browsers, it's not the permissions... I think.
|
| Mann Zaph | " http://www.morethanoil.com/articles/view.php?id=5 "I got a blank screen. when I clicked on contents: " http://www.morethanoil.com/comments/list.php?anchor=article%3A5 " I got a blank screen. when I clicked discuss " http://www.morethanoil.com/comments/edit.php?anchor=article%3A5 "it went through to let me add a comment, which I did, and hit submit (fine) then I chose to edit it and it gave me the right entry screen, then I hit submit again and blank screen!! " http://www.morethanoil.com/articles/view.php?id=5#comments " Then I was stuck in a loop somewhat. In between all these steps I am using my browser back button. The comment is there though as I found by using the search... From the home page edit me box i continued and hit trackback " http://www.morethanoil.com/links/trackback.php?anchor=article%3A5 "which took me to the right place, back again and I hit my section " http://www.morethanoil.com/sections/view.php?id=13 "and blank screen. It's strange how some of these php calls work and others don't - I suspect permissions, I'm going t o take a closer look at that. No sign of any extra info from verbosity yet. PS: I have a friend sold on switching to YAKs, from Zope, but I want to iron this out first. Viva Zaph
|
| Mann Zaph | I am pretty sure it isn't a memory issue as I have pumped around some bigger php at this host recently. It seems more like a configuration issue to me, but what do I know! Any other ideas out there? Thanks Zaph
|
Bernard Paques |











Thanks
Zaph
The file attch was denied This type of file is not allowed.
So... I don't like to put all this text in the message but... I'll edit and start in from a week or so ago... of course some of these errors are other sites trying to reach mine and some of yacs ones were initial setup issues.
and try to reattach... but I don't see an attach in edit mode, so I'll send a new message with attachment.


