Page 1 of 1

Error on mod tab

Posted: 6. November 2008 18:09
by essexstardust
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.schooltalkuk.com/phpBB3/

What have you done before the problem was there?
Ran the installer for portal

What have you already tryed to solve the problem?


Description and Message
Hi, I managed to run the installer after lots of trial and error, and the mod tab is finally showing up in the ACP but when I click on it I get this :

[phpBB Debug] PHP Notice: in file /includes/acp/acp_portal.php on line 23: acp_portal::include() [acp-portal.include]: Unable to access ./../portal/includes/functions.php
[phpBB Debug] PHP Notice: in file /includes/acp/acp_portal.php on line 23: acp_portal::include(./../portal/includes/functions.php) [acp-portal.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/acp/acp_portal.php on line 23: acp_portal::include() [function.include]: Failed opening './../portal/includes/functions.php' for inclusion (include_path='.:')

Fatal error: Call to undefined function obtain_portal_config() in /customers/schooltalkuk.com/schooltalkuk.com/httpd.www/phpBB3/includes/acp/acp_portal.php on line 25

I am trying very hard but starting to lose the will to live now :?

Re: Error on mod tab

Posted: 6. November 2008 21:51
by Ice
You haven't uploaded the files, have you uploaded all the files from the /root/ folder in the zip file?

Re: Error on mod tab

Posted: 6. November 2008 22:55
by essexstardust
You haven't uploaded the files, have you uploaded all the files from the /root/ folder in the zip file?
Hi yes I have uploaded the files , actually just done it again to make sure, but pretty sure I have done it correctly !

Re: Error on mod tab

Posted: 7. November 2008 01:05
by thomas.d
There are only to mistakes possible:

1.) you have not uploaded all files

2.) you have not uploaded all files to their appropriate folder

What is - exactly - the path to your portal.php file (starting with http://)?

What is - exactly - the path to your /portal/includes/functions.php file (starting with http://)?

Re: Error on mod tab

Posted: 7. November 2008 04:00
by Ice
http://www.schooltalkuk.com/phpBB3/port ... ctions.php does not exist, so you are missing some files...

Re: Error on mod tab

Posted: 7. November 2008 16:56
by essexstardust
What is - exactly - the path to your portal.php file (starting with http://)?
http://www.schooltalkuk.com/phpBB3/root/portal.php

What is - exactly - the path to your /portal/includes/functions.php file (starting with http://)
http://schooltalkuk.com/phpBB3/root/por ... ctions.php

Ice mentions that the functions file is missing, which I have just checked and it does seem to be empty, I have just tried downloading it again and it wont open. :?

Re: Error on mod tab

Posted: 7. November 2008 17:15
by essexstardust
Hi just an update to my last post, this is the error coming up when i click on mods tab now,
SQL ERROR [ mysqli ]

Table 'schooltalkuk_co.PORTAL_CONFIG_TABLE' doesn't exist [1146]

SQL

SELECT config_name, config_value FROM PORTAL_CONFIG_TABLE

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: portal/includes/functions.php
LINE: 32
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_portal.php
LINE: 25
CALL: obtain_portal_config()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_portal->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

Re: Error on mod tab

Posted: 7. November 2008 18:39
by Ice
You've misunderstood the install instructions, you don't upload the /root/ folder, you upload what is INSIDE the /root/ folder so you get http://www.schooltalkuk.com/phpBB3/portal.php and http://schooltalkuk.com/phpBB3/portal/i ... ctions.php

Re: Error on mod tab

Posted: 7. November 2008 18:49
by essexstardust
Right thanks, I am going to give it another go, I will let you know how it goes.

Re: Error on mod tab

Posted: 8. November 2008 01:30
by naijababy
I'm having the same issue....i've uploaded all the files in root to their respective folder on my phpbb3 folder on the site. I'm really not sure what to do with the other files outside of root though... do these go up on the site as well?
Thanks.

UPDATE: Nevermind people....I've figured it out. I read something called "instructions"...lol. Followed the guide in the Install.xml file and all is now cool. Thanks

Re: Error on mod tab

Posted: 8. November 2008 12:12
by essexstardust
Thanks everyone, I have managed to do it :D I am quite embarrased to admit that I was only making the subsilver2 file edits, I didnt realise that you had to do the ones in the prosilver instructions too. We live and learn dont we, just took me 4 days :?