Joomla Portability: Difference between revisions

no edit summary
(New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Joomla (Version 1.0.13 ) portability on Unifor...)
 
No edit summary
Line 1: Line 1:
<span id="top"></span>
=[http://ynejynezex.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
<div style="padding:0;margin:0; border-bottom:3px inset #000000">
&lt;span id=&quot;top&quot;&gt;&lt;/span&gt;
&lt;div style=&quot;padding:0;margin:0; border-bottom:3px inset #000000&quot;&gt;
{|  
{|  
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
Joomla (Version 1.0.13 ) portability on Uniform Server 3.5-Apollo.  
Joomla (Version 1.0.13 ) portability on Uniform Server 3.5-Apollo.  
|}
|}
</div>
&lt;/div&gt;
{| cellpadding="2"
{| cellpadding=&quot;2&quot;
|
|
__TOC__
__TOC__
Line 22: Line 23:
Using php, we can access the environment variable “Disk” for example:
Using php, we can access the environment variable “Disk” for example:


'''<nowiki><? $jo_dsk = getenv('Disk'); ?></nowiki>'''
'''&lt;nowiki&gt;&lt;? $jo_dsk = getenv('Disk'); ?&gt;&lt;/nowiki&gt;'''


This gets the environment variable '''Disk''' using '''getenv''' and assigns it to our variable '''$jo_dsk'''.
This gets the environment variable '''Disk''' using '''getenv''' and assigns it to our variable '''$jo_dsk'''.
Line 30: Line 31:
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
== Implementation ==
== Implementation ==
Edit the configuration file '''configuration.php''' located in folder '''<nowiki>*\Uniform Server\udrive\www\joomla</nowiki>''' with a suitable text editor.
Edit the configuration file '''configuration.php''' located in folder '''&lt;nowiki&gt;*\Uniform Server\udrive\www\joomla&lt;/nowiki&gt;''' with a suitable text editor.


Follow these three steps:
Follow these three steps:


{|cellpadding="4"
{|cellpadding=&quot;4&quot;
|-style="background:#f0f0f0"
|-style=&quot;background:#f0f0f0&quot;
!Step
!Step
!Action
!Action
!Result after modification
!Result after modification
|-style="background:#f8f8f8"
|-style=&quot;background:#f8f8f8&quot;
|valign="top"|
|valign=&quot;top&quot;|
&nbsp;&nbsp;1
&amp;nbsp;&amp;nbsp;1
|valign="top"|
|valign=&quot;top&quot;|
Just below <?php add the line:<br>
Just below &lt;?php add the line:&lt;br&gt;
$jo_dsk = getenv('Disk');
$jo_dsk = getenv('Disk');
|valign="top"|
|valign=&quot;top&quot;|
<nowiki><?php</nowiki><br>
&lt;nowiki&gt;&lt;?php&lt;/nowiki&gt;&lt;br&gt;
'''$jo_dsk = getenv('Disk');'''<br>
'''$jo_dsk = getenv('Disk');'''&lt;br&gt;
$mosConfig_offline = '0';
$mosConfig_offline = '0';
|-style="background:#f8f8f8"
|-style=&quot;background:#f8f8f8&quot;
|valign="top"|
|valign=&quot;top&quot;|
&nbsp;&nbsp;2
&amp;nbsp;&amp;nbsp;2
|valign="top"|
|valign=&quot;top&quot;|
Locate the line:<br>
Locate the line:&lt;br&gt;
$mosConfig_absolute_path = 'W:/www/joomla';<br>
$mosConfig_absolute_path = 'W:/www/joomla';&lt;br&gt;
Either comment out the line or delete it and replace with:<br>
Either comment out the line or delete it and replace with:&lt;br&gt;
$mosConfig_absolute_path = $jo_dsk . ':/www/joomla';
$mosConfig_absolute_path = $jo_dsk . ':/www/joomla';
|valign="top"|
|valign=&quot;top&quot;|
$mosConfig_lang = 'english';<br>
$mosConfig_lang = 'english';&lt;br&gt;
'''<nowiki>#</nowiki>'''$mosConfig_absolute_path = 'W:/www/joomla';<br>
'''&lt;nowiki&gt;#&lt;/nowiki&gt;'''$mosConfig_absolute_path = 'W:/www/joomla';&lt;br&gt;
'''$mosConfig_absolute_path = $jo_dsk . ':/www/joomla';'''<br>
'''$mosConfig_absolute_path = $jo_dsk . ':/www/joomla';'''&lt;br&gt;
$mosConfig_live_site = 'http://localhost/joomla';
$mosConfig_live_site = 'http://localhost/joomla';
|-style="background:#f8f8f8"
|-style=&quot;background:#f8f8f8&quot;
|valign="top"|
|valign=&quot;top&quot;|
&nbsp;&nbsp;3
&amp;nbsp;&amp;nbsp;3
|valign="top"|
|valign=&quot;top&quot;|
locate the line:<br>
locate the line:&lt;br&gt;
$mosConfig_cachepath = 'W:/www/joomla/cache';<br>
$mosConfig_cachepath = 'W:/www/joomla/cache';&lt;br&gt;
Either comment out the line or delete it and replace with:<br>
Either comment out the line or delete it and replace with:&lt;br&gt;
$mosConfig_cachepath = $jo_dsk . ':/www/joomla/cache';
$mosConfig_cachepath = $jo_dsk . ':/www/joomla/cache';
|valign="top"|
|valign=&quot;top&quot;|
$mosConfig_caching = '0';<br>
$mosConfig_caching = '0';&lt;br&gt;
'''<nowiki>#</nowiki>'''$mosConfig_cachepath = 'W:/www/joomla/cache';<br>
'''&lt;nowiki&gt;#&lt;/nowiki&gt;'''$mosConfig_cachepath = 'W:/www/joomla/cache';&lt;br&gt;
'''$mosConfig_cachepath = $jo_dsk . ':/www/joomla/cache';'''<br>
'''$mosConfig_cachepath = $jo_dsk . ':/www/joomla/cache';'''&lt;br&gt;
$mosConfig_cachetime = '900';
$mosConfig_cachetime = '900';
|}
|}
Line 79: Line 80:
A quick explanation for line: $mosConfig_absolute_path = $jo_dsk . ':/www/joomla';
A quick explanation for line: $mosConfig_absolute_path = $jo_dsk . ':/www/joomla';


The variable '''$jo_dsk''' contains a string character of the drive letter in use.<br>
The variable '''$jo_dsk''' contains a string character of the drive letter in use.&lt;br&gt;
The string defined by a single quote either end of it ''':/www/joomla''' is concatenated (added to) our variable '''$jo_dsk''' this creates the '''full path'''.<br>
The string defined by a single quote either end of it ''':/www/joomla''' is concatenated (added to) our variable '''$jo_dsk''' this creates the '''full path'''.&lt;br&gt;
The result is assigned to variable '''$mosConfig_absolute_path'''.
The result is assigned to variable '''$mosConfig_absolute_path'''.


322

edits