1 (edited by kendra 2005-10-09 22:20)

Topic: Plz help w/ version update

Hi,

Okay I have v1.26 right now, and now its at 1.28 so I missed 2 small updates.

NOTE:
We did some custom intregrating using the 1.26 .tpl files so we dont want to update these, unless we have to for security reasons.

I replaced the following files with the ones that were included with version 1.28

post.php
edit.php
profile.php
search.php

But the version still reports as 1.26, What else must be done to fully be updated to 1.28?

Also we have a SSL-Certificate, the http referer is considering a https:// session to be a different http referer so were forced to use fulltime secured sessions. This is okay but really running anything in SSL tends to slow it down a bit, is there anyway to allow both https:// and http:// ?

Thanks in advance.

Kendra

Re: Plz help w/ version update

This might help w/ your upgrade problem
http://punbb.org/forums/viewtopic.php?id=8914

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Plz help w/ version update

OKay thanks

But did I actually address all of the v1.28 security concerns by manually replacing the 4 files with current versions and running the ver_update.php?

Kendra

Re: Plz help w/ version update

Download the changed files archives for 1.2.7 and 1.2.8. They only include the files that have been modified.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5 (edited by kendra 2005-10-11 18:00)

Re: Plz help w/ version update

errrm   hmm

What is the normal process for updating a version??

I dont think I know forsure what you mean. I see the changelog, thats where I got the filenames, that I updated but it has alot of SQL stuff thats been fixed.

Can you provide a link plz or paste a changed files  from 1.26 to 1.28?

All I have done so far is replace

post.php
edit.php
profile.php
search.php

I did NOT run the 12_to_128_update.php until im sure I didnt miss anything and thats all I need to do.

can someone plz tell me

Kendra

Re: Plz help w/ version update

Try reading docs/install.html in installation package before posting here. Everything is written there in section 'Upgrading from 1.2.*'

7 (edited by kendra 2005-10-12 05:51)

Re: Plz help w/ version update

oh nevemind..

I didnt think that security was that bad that I cant even just get a simple upgrade help. after all isnt these forums for this??

I already Said that there is custom work done so I cant just replace all the files, theres custom tpl files, and the emoticon bar mod and ugh just errm

This Kinda sucks really I liked punbb , but ill just install phpbb sorry


Kendra

Re: Plz help w/ version update

kendra wrote:

oh nevemind..

I didnt think that security was that bad that I cant even just get a simple upgrade help. after all isnt these forums for this??

I already Said that there is custom work done so I cant just replace all the files, theres custom tpl files, and the emoticon bar mod and ugh just errm

This Kinda sucks really I liked punbb , but ill just install phpbb sorry


Kendra

Settle down. Use the patch. It's available on the downloads page together with instructions. If you need a patch that takes you from e.g. 1.2.6 to 1.2.8, you can find it in the download archive. The patch will take care of the update even though you've made modifications. If it for some reason can't, it will let you know.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

9 (edited by kendra 2005-10-15 01:43)

Re: Plz help w/ version update

Okay well I just did replaced all the files (except the tpl's) and them did the db-migration.

But now I have a wierd problem? the extern.php for some reason it stopped working and gives an error now with a relative path. It worked fine before the update so Im puzzled why?

Error:
Warning: main(): Failed opening '/bb/extern.php?action=online_full' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/work3.php on line 535

Code used:

<?php include('/bb/extern.php?action=online_full'); ?>

NOTE:
Since we have a SSL certificate and use CMS we use the opening slash almost everywhere. This lets us drop a blank template for example in any folder/directory, and will use predefine global resources for css, menus ect and have SSL compatibility without need to modifiy the page, all we do is add the page content.

Anyways If I use a absolute path it syndicates fine, so there is no problem with the topic or Forum ID, spelling, grammer, php error,  or anything like that, just now it wont let me use the relative path. I even created a blank test.php, put it in the root and removed the starting slash

<?php include('bb/extern.php?action=online_full'); ?>

And it did the same thing? I then changed it to a absolute path and it worked again, but got insecured content with SSL. A work-around is using a https:// absolute path, but that slows things down requesting secured content in a insecured page.

Anyways what can I do to get it working again with a relative path?

tks ..
/Kendra


Windows: a 32-bit extensions and a graphical shell for a 16-bit patch to a 8 bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand 1 bit of competition.

10 (edited by Smartys 2005-10-15 11:20)

Re: Plz help w/ version update

Use ./ instead of / wink