Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
New Installation to Subdirectory Problem - 'The site is currently down for maintenance'
I have recently taken over the management of an existing website using a very old version of exponent (0.96.3).
The existing site was installed to the root web folder. I am attempting to install the latest version of exponent (2.3.3) to a subdirectory which has been defined as a subdomain so that I can begin building a new site while leaving the existing site up and running.
I uploaded the extracted files to the subdirectory, changed file permissions as described in the installation instructions, created a new database, and then attempted to install 2.3.3 by visiting 'subdomain.mydomain.org/install/index.php'. I am displayed a page stating that the 'The site is currently down for maintenance.' In red bold letters 'Database is currently Off-line!'. And asks me for the administrator login.
If I attempt to hit the new site by visiting 'mydomain.org/subdirectory/install/index.php' it shows the existing site only with broken images.
This seems like a routing problem or something... I've tried changing the .htaccess file under the subdirectory by uncommenting RewriteBase and setting my subdirectory appropriately but it doesnt make a difference.
I need to be careful not to damage the live site that is in the parent folder.
Please help! Thank you...
View article...
The existing site was installed to the root web folder. I am attempting to install the latest version of exponent (2.3.3) to a subdirectory which has been defined as a subdomain so that I can begin building a new site while leaving the existing site up and running.
I uploaded the extracted files to the subdirectory, changed file permissions as described in the installation instructions, created a new database, and then attempted to install 2.3.3 by visiting 'subdomain.mydomain.org/install/index.php'. I am displayed a page stating that the 'The site is currently down for maintenance.' In red bold letters 'Database is currently Off-line!'. And asks me for the administrator login.
If I attempt to hit the new site by visiting 'mydomain.org/subdirectory/install/index.php' it shows the existing site only with broken images.
This seems like a routing problem or something... I've tried changing the .htaccess file under the subdirectory by uncommenting RewriteBase and setting my subdirectory appropriately but it doesnt make a difference.
I need to be careful not to damage the live site that is in the parent folder.
Please help! Thank you...
View article...
Comments
The existing site was installed to the root web folder. I am attempting to install the latest version of exponent (2.3.3) to a subdirectory which has been defined as a subdomain so that I can begin building a new site while leaving the existing site up and running.
I uploaded the extracted files to the subdirectory, changed file permissions as described in the installation instructions, created a new database, and then attempted to install 2.3.3 by visiting 'subdomain.mydomain.org/install/index.php'. I am displayed a page stating that the 'The site is currently down for maintenance.' In red bold letters 'Database is currently Off-line!'. And asks me for the administrator login.
If I attempt to hit the new site by visiting 'mydomain.org/subdirectory/install/index.php' it shows the existing site only with broken images.
This seems like a routing problem or something... I've tried changing the .htaccess file under the subdirectory by uncommenting RewriteBase and setting my subdirectory appropriately but it doesnt make a difference.
I need to be careful not to damage the live site that is in the parent folder.
Please help! Thank you...
View article...
* Recreate the 'subdirectory' folder
* Extract the v2.3.3 package into 'subdirectory
* Extract the v2.3.3.patch1 file into that same subdirectory
* Copy the existing /files folder into the 'subdirectory 'files' folder
* Create a new (empty) database for the v2.3.3 installation
* Browse to the install url and complete the installation WITHOUT loading a sample database selecting the 'Simple Theme' since it probably more closely resembles your existing 0.9x theme
* Once the 2.3.3 site is up and running and you are logged in as the super-admin, select the Exponent menu, Super-Admin Tools, and Migrate 0.9x Site item
* Follow the migration steps which should import all the content from your 0.9x site, abeit under a different theme
* If you seem to have all your content up on the new site (sometimes footers, and side columns don't display due to the name of that object within the theme template)...you can ATTEMPT to install/update your 0.9x theme.
* Copy over the 0.9x theme you are using (the subfolder folder in that themes folder) into the subdirectory/themes folder
* Though we can't guarantee the theme will work in v2.x, we can give it a try.
* Open and edit the 'index.php' file within the copied theme
* Add the following line immediately AFTER the first <?php line
*
define('OLD_THEME_COMPATIBLE', 1);
*
Do the same for all the .php files found in the copied theme's 'subtheme' folder
*
On the web site, turn 'error reporting' on using the Exponent, Super Admin Tools menu
*
Switch to the new theme using the Exponent, Super Admin Tools. Extensions, Manage Themes menu. I'd recommend using the 'Preview' option in case this doesn't work well
*
If everything has worked well, you should see your site, abeit with a bunch of error messages telling you how to update some of the obsolete theme calls.
*
Visit this help page for details about updating the theme to the v2.x standard http://docs.exponentcms.org/docs/2.3.3/theme_update
View article... <http://forums.exponentcms.org/discussion/comment/3813#Comment_3813>
"MIGRATE' the database into (new) v2.x database from the v0.96.3 database. .Here's what I'd recommend
* Recreate the 'subdirectory' folder
* Extract the v2.3.3 package into 'subdirectory
* Extract the v2.3.3.patch1 file into that same subdirectory
* Copy the existing /files folder into the 'subdirectory 'files' folder
* Create a new (empty) database for the v2.3.3 installation
* Browse to the install url and complete the installation WITHOUT loading a sample database selecting the 'Simple
Theme' since it probably more closely resembles your existing 0.9x theme
* Once the 2.3.3 site is up and running and you are logged in as the super-admin, select the Exponent menu,
Super-Admin Tools, and Migrate 0.9x Site item
* Follow the migration steps which should import all the content from your 0.9x site, abeit under a different
theme
* If you seem to have all your content up on the new site (sometimes footers, and side columns don't display due
to the name of that object within the theme template)...you can ATTEMPT to install/update your 0.9x theme.
* Copy over the 0.9x theme you are using (the subfolder folder in that themes folder) into the
subdirectory/themes folder
* Though we can't guarantee the theme will work in v2.x, we can give it a try.
* Open and edit the 'index.php' file within the copied theme
* Add the following line immediately AFTER the first <?php line
*
define('OLD_THEME_COMPATIBLE', 1);
* Do the same for all the .php files found in the copied theme's 'subtheme' folder
* On the web site, turn 'error reporting' on using the Exponent, Super Admin Tools menu
* Switch to the new theme using the Exponent, Super Admin Tools. Extensions, Manage Themes menu. I'd recommend using the 'Preview' option in case this doesn't work well
* If everything has worked well, you should see your site, abeit with a bunch of error messages telling you how to update some of the obsolete theme calls.
* Visit this help page for details about updating the theme to the v2.x standard http://docs.exponentcms.org/docs/2.3.3/theme_update
View article... <http://forums.exponentcms.org/discussion/comment/3813#Comment_3813>
This is basically what I was trying to do... the only things I hadn't done was install the patch and copy over the 'files' folder first. My attempt is to get a clean 2.X up and running (behind the 0.9 version for now)... I may not even want to migrate as I want to utilize a new bootstrap 3 theme.
I'll delete the subdirectory/subdomain and try again being sure to do those steps. I'll keep you posted.
Thanks for the quick reply.
View article...
Just like last time, it doesn't show me the installation page, but instead shows me the existing homepage with some broken images. It's almost as if it's using the existing database or something? The URL doesn't get forwarded to the main page, but it looks just like the main page. I'm unable to install the new version... this has to be a routing situation or something?
I wanted to point out that some of the folders/files that need to have their permissions changed do not appear after the files are extracted... maybe those files/folders are no longer in the new versions? I just wanted to point that out.
At any rate, I'm unable to install 2.3.3 because the installation page just shows the main page from the 0.9 version that is one level up in the file structure.
Any ideas?! Thanks for the support.
View article...
Other images (like those in a listing or photo gallery) should be ok since they get their url from the database.
View article...
Just like last time, it doesn't show me the installation page, but instead shows me the existing homepage with some broken images. It's almost as if it's using the existing database or something? The URL doesn't get forwarded to the main page, but it looks just like the main page. I'm unable to install the new version... this has to be a routing situation or something?
I wanted to point out that some of the folders/files that need to have their permissions changed do not appear after the files are extracted... maybe those files/folders are no longer in the new versions? I just wanted to point that out.
At any rate, I'm unable to install 2.3.3 because the installation page just shows the main page from the 0.9 version that is one level up in the file structure.
Any ideas?! Thanks for the support.
EDIT: I changed the .htaccess file in the subdirectory by uncommenting and changing the 'RewriteBase /subdirectory' appropriately. Now when I hit 'mydomain.org/subdir/install/index.php' and it now changes the URL to 'mydomain.org/~username/index.php?section=11'. I am still not presented with the installation page, it still shows the main page of the 0.9 site, but the images are all coming in correctly now. But, again, I need to get 2.3.3-1 installed in the subdirectory....
View article...
After pouring over logs I noticed an error: 'Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM'
I determined that this was because the subdirectory was using the same version of PHP as the root web folder (running the old 0.9 Exponent). I upgraded the subdirectory PHP version to 5.3... and problem solved!
I was able to install exponent 2.3.3-1 into the subdirectory and was able to get it to successfully install and I am playing around with it now.
Thanks for the help.
View article...
View article...
Upgraded the subdirectory folder to run PHP 5.3.29.
Edit: I also wanted to mention that the 500 Server Error was only detected by running developer tools on the installation page. I was simply receiving a blank page... when looking at the requests is when I noticed the installation/index.php was returning a 500. Looking at the server logs is where I determined the PHP error and some basic research led me to determine it was a PHP version issue.
View article...
View article...
View article...