sorry i accidentally closed this thread
(thought i was done with it, and assumed i could reopen it; will keep this one open).
So i found out i still havent sorted out how to ugrade correctly.
I begin with elgg installed here:
- mamp/htdocs/website.com/elgg1.8.8/...
I try to upgrade to
- mamp/htdocs/website.com/elgg1.8.12/...
by doing this:
* downloading new elgg, and put folder into new path
* copying over mod folder keeping older mods
* copying over old .htaccess
* manually running this script on db as described here /*We must now change 4 entries in the database. */
/*This is easily accomplished with 4 simple SQL commands:*/
/*Change the installation path*/
UPDATE `elgg_datalists` SET `value` = "/var/www/elgg-1.8.12/" WHERE `name` = "path";
/* Change the data directory*/
UPDATE `elgg_datalists` SET `value` = "/var/data/elgg-1.8.12/" WHERE `name` = "dataroot";
/*Change the site URL*/ UPDATE `elgg_sites_entity` SET `url` = "http:port//website.com/elgg-1.8.12/";
/*Change the filestore data directory # (Only change the first path here!!)*/
UPDATE elgg_metastrings set string = '/var/data/elgg-1.8.12/' WHERE id = (SELECT value_id from elgg_metadata where name_id = (SELECT * FROM (SELECT id FROM elgg_metastrings WHERE string = 'filestore::dir_root') as ms2) LIMIT 1) ;
* I then run upgrade.php but get sent to the url: http://localhost:port/website.com/elgg-1.8.12/port//website.com/elgg-1.8.12/activity
What am i doing wrong?
Any idea where i got that extra address bit from?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cim@manacim
Cim - 0 likes
- jsky@jskye
jsky - 0 likes
- Cim@manacim
Cim - 0 likes
- jsky@jskye
jsky - 0 likes
- Cim@manacim
Cim - 0 likes
You must log in to post replies.here's your problem, you added port after http:
**pulls hair out**
where i had port i meant my local mamp port 8888.
so ive tried the url as: "localhost:8888/website.com/elgg-1.8.12/"
and also as "http://localhost:8888/website.com/elgg-1.8.12/"
as well as "http://website.com/elgg-1.8.12/"
with no success yet.
but im now getting a page not found page. :/
normally i reach elgg at localhost:8888/website.com/elgg1.8.8
so frustrating
Hmm did you enable rewritebase / in htaccess? You seem to be running elgg in a subdirectory of the root. So check htaccess for instructions. There's a sample htaccess made from elgg with instructions
indeed i think you mightve been right.
instead of the updates i did selects to see how it was installed on the old elgg.
and used those to get the new one working yay :)
path = "/Applications/MAMP/htdocs/website.com/elgg-1.8.12/"
dataroot = "/Applications/MAMP/data/elgg-1.8.12/"
url = "http://localhost:8888/website.com/elgg-1.8.12/"
Thanks for your help today Cim, i appreciate it.
No problem :) I completely forgot you're using MAMP, it didn't hit me until I seen localhost:8888