Error when running install.php

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Error when running install.php

Post by hewitt »

Hi,

I just want to upgrade my portal from 1.22 to the 1.0rc1. Although I can get to the install page, however when I select Yes to update to 1.0rc1, it give me this message:

PInUp Error
You must be logged in as an admin.
Go to login

Even tried to enter my id in the end of the link (&sid=12345.....) it just loop back and giving the same error. Please help?

Do you have any idea? is this a bug?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Error when running install.php

Post by Kevin »

Please try this:
Kevin wrote:
  • If you receive a error while trying to install the portal, that you have to be logged in as founder / Admin, please search in root/install_portal/install.php for:

    Code: Select all

    	 if( $user->data['is_registered'] && $auth->acl_get('a_board') )
     	  	 {
    and

    Code: Select all

    } else {
     	  	         include($phpbb_root_path . 'install_portal/style/layout_header.'.$phpEx);
     	  	         echo '<h1>' . $user->lang['INSTALLER_ERROR'] . '</h1>';
     	  	         echo '<p>' . $user->lang['INSTALLER_NEEDS_ADMIN'] . '</p>';
     	  	         include($phpbb_root_path . 'install_portal/style/layout_footer.'.$phpEx);
     	  	 }
    and delete the code
Please let me know if it helped.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Re: Error when running install.php

Post by hewitt »

Thanks Kevin,

Yes, it worked! I can run the update successfully.

However, now I get another error. I cannot get the portal display. it give me this message:

General Error
Language file portal.php couldn't be opened.

Any idea?

Thanks
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Error when running install.php

Post by Ice »

If you are using a non-english language and there is not a portal language file for you yet you have to place the language/en/mods/portal_* files into language/<your language>/mods/portal_*. And if you're feeling really nice, translate the portal. ;)
Board3 Portal Dev & English Tech Support

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Re: Error when running install.php

Post by hewitt »

I copied those files as you said, but it doesn't work. still the same error.

Although I've other languages folder there, but I am not use it at the moment. And yes, when I can get this one running and when I have time. I will translate and give you those files.

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Re: Error when running install.php

Post by hewitt »

Ice wrote:If you are using a non-english language and there is not a portal language file for you yet you have to place the language/en/mods/portal_* files into language/<your language>/mods/portal_*. And if you're feeling really nice, translate the portal. ;)
I think the problem is it still request the portal.php files from language/en/ and language/en/acp/ folders, which are from the old MOD. When I replace these files, there is no error but the portal did not look right. So, it must be somewhere still using/requesting the old files. Do you have any idea?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Error when running install.php

Post by Kevin »

Have you done the changes from the instructions in the contrib/update_phpbb3portal_122.xml file?
You can see in this instruction what have to be removed from the old portal.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Re: Error when running install.php

Post by hewitt »

Yes, I followed the instructions in the contrib/update_phpbb3portal_122.xml file.
Last edited by hewitt on 5. May 2008 04:59, edited 2 times in total.

Topic author
hewitt
Active Member
Posts: 8
Joined: 4. May 2008 10:27

Re: Error when running install.php

Post by hewitt »

Oh silly me, my apologies, I followed all the instruction and copied all the files but forgot to copy the portal.php to the root. it is still using the old portal.php file. so once I copied and overwrote it .it now run correctly. Sorry to mess thing up and thank you all for your support.

cheers.
Locked

Return to “board3 Portal 1.0.x - English Support”