PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

upgrade not working for me #540

Closed AnthonyKing closed 9 years ago

AnthonyKing commented 9 years ago

i followed all the steps on how to upgrade manually and when i enter the url 'http://www.yoursite.com/index.php?phpfox-upgrade=true' with my domain, it does not go to the next step to input my license and when i access the admin panel > system overview i see that i still have 4.0.7 screenshot 958

Gatsby-PF commented 9 years ago

Is your system trying to force the install over encrypted connection (https://)? 4.07 failed to install under https://, and was only allowed to do so under http:// (mirrors the exact same symptom you describe with exception that it was a new install).

Just a reminder to create a backup archive of your entire installation in webroot, and a SQL dump backup of existing database so you can go back in time if it crashes.

DonnaScriptTechs commented 9 years ago

Are you sure this is the paid client version you are trying to install? Are you sure the domain is listed at http://store.phpfox.com/download for your licensed account? I upgraded sites yesterday and they all went fine.

AnthonyKing commented 9 years ago

yes i am sure, the domain is licensed

AnthonyKing commented 9 years ago

i upgrade and after the upgrade was finished i tried to view my site but it showed a blank page even when i try to refresh

DonnaScriptTechs commented 9 years ago

enable debug. yoursite.com/PF.Base/tools/debug.php and you'll need your license id and key in order to enable debug. Then go to your site and see what shows for errors.

AnthonyKing commented 9 years ago

ok i'll try that

AnthonyKing commented 9 years ago

i got this Missing "phpfox.json" file.

DonnaScriptTechs commented 9 years ago

Perhaps you didn't get all of the files uploaded.

DonnaScriptTechs commented 9 years ago

When you downloaded, are you sure you downloaded from the client download and NOT from the github?

AnthonyKing commented 9 years ago

yes under license domain, i clicked download

DonnaScriptTechs commented 9 years ago

https://github.com/moxi9/phpfox-dist try the download from that one.

AnthonyKing commented 9 years ago

ok i'll try that one

AnthonyKing commented 9 years ago

screenshot 959 i got this error after i tried that

DonnaScriptTechs commented 9 years ago

are you sure the files are uploading fully and you have folder permissions done?

AnthonyKing commented 9 years ago

yes i followed http://support.phpfox.com/upgrading-phpfox/manually-upload-files/

AnthonyKing commented 9 years ago

i just tried it again still same error if i install it from the start, and restore my sql back will i have my apps and users back?

one44 commented 9 years ago

Yes just make sure you save the file directory.

AnthonyKing commented 9 years ago

i saved the sql the file directory i did not save

AnthonyKing commented 9 years ago

screenshot 962 tried it again but still the same error

DonnaScriptTechs commented 9 years ago

Is it the error from above the last one you posted as that one doesn't show the error? If so, "failed to open" usually means permission issues or the file isn't there. Did you check the server for that file? Did you double check folder permissions for that specific folder and file? I don't normally have to change any permissions like the one shown though but maybe the server is setting the files to some other type of permission.

AnthonyKing commented 9 years ago

yes i checked the file and even the code in the file

AnthonyKing commented 9 years ago

i have deleted all the old files in hope of recovering the saved data i have, thank you for your help and attention

Gatsby-PF commented 9 years ago

@AnthonyKing: Just tried and the web update url just redirected to the normal 4.0.7 home page. Does this upgrade process require Composer? The original installation was the Git-less version.

DonnaScriptTechs commented 9 years ago

I've upgraded several sites using the manual method and have not been running into issues, all on various servers. Are you using https? Try not using https just for the upgrade and see if it works. Then, turn it back on if you had it on before.

AnthonyKing commented 9 years ago

I tried to upgrade but after that error, i decided to start from the bottom but now i have a new bug/error when i clear the cache i shows me a different page, not like when i was clearing the cache in 4 . 0 7 and i stayed in the admin panel. plus there are # tags when page/website refreshes itself screenshot 977 screenshot 978 screenshot 979 screenshot 980

DonnaScriptTechs commented 9 years ago

Perhaps try another host? Maybe the host doesn't support PHPfox v4. I've installed and upgraded more sites and still not having issues other than one at ipage but that isn't good hosting for this script.

When you upgraded did you follow all of the steps here for after upgrade steps that need to be done? http://scripttechs.com/article/354/phpfox-v4-upgrade-final-steps-you-need-to-do/ log in to view, load a profile pic if you've never joined my site before as that will automatically put you in the verified users to see tutorials.

AnthonyKing commented 9 years ago

i have an account at your site, and my host supports phpfox, it's interserver,

AnthonyKing commented 9 years ago

i was running 4.0.7 without any problems, i only encountered errors on 4.0.8

Gatsby-PF commented 9 years ago

@Data66PF: If the https question was directed to me, see my above post as I was certainly aware of and allowed for this. I just did a cold install and selective DB transplant and it is done.

Would be so much easier if a FTP/SSH overwrite based upgrade similar to what WHMCS does, and an supplemental MySQL "Kit" query file (if new tables/fields are associated with the upgrade) that can be executed form phpmyadmin or the like.

@AnthonyKing: try creating a new folder and test database and attempt a new installation to those under http:.

If that does not work, then try changing the foldername "freedomstand" to "welovethepresident" and see if you have better luck (i.e. your issue in encountering political keyword based interference).

DonnaScriptTechs commented 9 years ago

I'm guessing the renaming to welovethepresident was a joke since PHPfox is based in Sweden and doesn't care whether someone loves the president or not. :)

As for the selective transplant, be very careful as clients that tried that got bitten due to the change from v3 to v4 passwords being bcrypt now and so without running the upgrade routine, that password field wasn't properly done as the routine had to be run to convert it. This 4.0.8 includes a fix for an issue with some upgraded sites that didn't run the routine properly before and so, not running the routine could cause issues with users logging in and password issues. Just a word of caution.

AnthonyKing commented 9 years ago

i think maybe the error was caused by trying to upgrade more than once

Gatsby-PF commented 9 years ago

In many places in Africa in which Botswana is located (see second image posting), the word freedom has come to be regarded as synonymous with the word "coup". But the domain does not appear to be hosted in Africa as I has assumed it might, neither is it hosted in Sweden.

I also posted in another thread on the MD5 vs Bcrypt issue, however this having been a 4.07 to 4.08 upgrade, that was not thought to be a concern. The operation went off without issue.

DonnaScriptTechs commented 9 years ago

so is this resolved then?

AnthonyKing commented 9 years ago

freedomstand is a page under 1botswana.com, and yes it is resolved, i just want to know what i did wrong so that when the 4.0.9 comes i could upgrade without any errors

DonnaScriptTechs commented 9 years ago

I've closed this since it is resolved. Perhaps it was an issue when the files were ftp to the server? Not sure.