Page 1 of 2
Trouble installation backend menu array
Posted: Sat 18. Dec 2004, 23:05
by waydego
Hi there!!!
I need help with this one!!! I'm making a clean installation with the last released version with the copy function and everything goes find until I login. The admin interface shows up with the words array instead of the actual menu? And I tried by getting the path from an another phpwcms which I have installed with no problems to get to the administrative section and I was able to create the site structure that way but the top menu still only shows array array array. But the left menu is find and working!!!!
Any suggestion of what maybe causing that and how can I slove the problem?
Thank you

Posted: Sun 19. Dec 2004, 00:48
by Pappnase
hello
maybe you had an install error!? not all tables created!?
Posted: Sun 19. Dec 2004, 01:47
by waydego
Hi thank you for your reply,
Did all the permission set but I got warning errors when I tried the index.php.
Code: Select all
Warning: main(/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_init/Array): failed to open stream: No such file or directory in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 89
Warning: main(): Failed opening '/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_init/Array' for inclusion (include_path='.:/usr/local/lib/php') in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 89
Warning: main(/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_render/Array): failed to open stream: No such file or directory in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 480
Warning: main(): Failed opening '/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_render/Array' for inclusion (include_path='.:/usr/local/lib/php') in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 480
Warning: main(/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_render/Array): failed to open stream: No such file or directory in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 480
Warning: main(): Failed opening '/home/webclients/dmib.com/festiblues.com/www/2005ed8/phpwcms_template/inc_script/frontend_render/Array' for inclusion (include_path='.:/usr/local/lib/php') in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_front/content.func.inc.php on line 480
So I changed in the conf.inc.php
Code: Select all
$phpwcms["allow_ext_init"] = 0; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 0; //allow including of custom external scripts at frontend rendering
and no more warning but I still have the same problem when I login no menu top and left.
I checked the db and I have 29 tables which have been created.
Very strange for me because I have installed phpwcms on another server and everything is working pretty find.
Posted: Sun 19. Dec 2004, 08:51
by Pappnase
hello
call the document_root.php in your browser. and compare the path settings in your conf.inc.php
Posted: Sun 19. Dec 2004, 17:13
by waydego
hello,
I did that and I still have warnings and no menu in the backend???
Code: Select all
$_SERVER['DOCUMENT_ROOT'] = 'home/webclients/dmib.com/festiblues.com/www/2005ed8';
After I login and I add the ?do=articles (files, articles and so on) to the url I get the following warnings. But the left menu is there when I go to the admin (?do=admin) and working. But the default CSS content is blank and the Backend default text to and files gives me the same warnings.
Code: Select all
Warning: main(home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_lib/files.private-filelist.inc.php): failed to open stream: No such file or directory in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_lib/files.private.additions.inc.php on line 63
Warning: main(): Failed opening 'home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_lib/files.private-filelist.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_lib/files.private.additions.inc.php on line 63
And when I comment the
Code: Select all
//$_SERVER['DOCUMENT_ROOT'] = 'home/webclients/dmib.com/festiblues.com/www/2005ed8';
the only warning I have is when I go to add a article or edit I get the following warning but I'm able to add new articles and still no top menu in the admin. The Default CSS and backend text is there in the admin and file is ok.
Code: Select all
Warning/home/webclients/dmib.com/festiblues.com/www/2005ed8/include/inc_tmpl/article.editsummary.tmpl.php120
There's a question I have before I use phpwcms for that site can it handle a site with a lot of trafic let's say about a 1000 pages request per hour. Or will i get to many connection problems to the db.
thank you for your support!!!
waydego
Posted: Mon 20. Dec 2004, 09:50
by Pappnase
hello
did you look if all files where be uploaded!?
and i think there would be no problems with such traffic!
Posted: Mon 20. Dec 2004, 16:23
by Christian
MEIN PROBLEM WURDE GELÖST, der Provider hatte eine neue Version
von PHP eingespielt und da waren einstellungen ein wenig verbogen
MfG
Christian
Posted: Mon 20. Dec 2004, 17:25
by Dharma
I'm having the problem too. The installation was fine, it all worked perfectly for a few weeks. All of a sudden, I'm getting the above and I don't have a clue why.
The release that i'm using is Release 1.1-RC4 27-08-2004 and it was installed using fantastico.
Any ideas anyone?
Cheers
Posted: Mon 20. Dec 2004, 17:31
by Pappnase
hello
only wanna inform you that i send this thread to oliver georgi and hope that he can help.
Posted: Mon 20. Dec 2004, 20:35
by waydego
Hello everyone,
I got in touch with the hosting compagny and they upgraded the php to version 4.3.10 over the weekend and that's when I started having problems because I had installed previously on the friday with that same provider and everything was ok with the installation untill the upgrade.
One of their ingeneer had a fast look this morning and said that there's an error in the code wich I will translate it's in French.
Code: Select all
error in the file content.func.inc.php line
lignes 89 et 480.
He modified
foreach ($custom_includes as $value)
to
foreach ($custom_includes $tmpkey => $value)
and perhaps it has to be change on some other pages
I personnaly don't think that resolves the problem because I do not have the backend menu working even with that change.
And which is also very strange is that I have exactly the same phpwcms release version installed and working perfectly on a another hosting compagny and they also made a upgrade during the weekend to 4.3.10 and no problem what so ever!!!!
Their looking into it right now I sent them the php info from my other provider so maybe they will find the problem.
waydego
Posted: Mon 20. Dec 2004, 21:16
by Oliver Georgi
Yes that's right - often PHP.INI settings are wrong or misconfigured. I have 4.3.10 running without any problems.
Always check permissions and paths. Or maybe errors while uploading by FTP - have seen often on busy accounts or slow/bad servers.
Oliver
Posted: Mon 20. Dec 2004, 21:43
by Dharma
I notified my webhosts and they sorted it out. Cheers

Posted: Mon 20. Dec 2004, 21:48
by waydego
Hi there,
Problem sloved, the upgraded the Zend on the server and evrything is working just fine!!!
Thank you for the help and a Happy Holiday Season to all
Posted: Mon 20. Dec 2004, 22:39
by Oliver Georgi
If possible don't use Zend Optimizer - use Turck MM Cache.
Oliver
Posted: Tue 21. Dec 2004, 12:05
by Pixelchaos
I have the same problems after my host upgraded to php 4.3.10. Can somebody post the phpinfo() page of a working 4.3.10 installation with phpwcms? My host could use that to fix it.