<div dir="ltr"><div><div><div>
<b>Warning</b>:  Declaration of Portal_Index_View::templateFile() should
 be compatible with Portal_Default_View::templateFile(Portal_Request 
$request) in xxx/xxxx/xxxxx/<b>public_html/vtiger/portal/classes/Portal/views/Index.php</b> on line <b>11<br><br></b></div>Line 11:<b> return "Portal/Home.tpl";<br><br></b></div>There is no file called Home.tpl <br><br><br></div>T<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 7:45 PM, Satish Dvnk <span dir="ltr"><<a href="mailto:satish.dvnk@vtiger.com" target="_blank">satish.dvnk@vtiger.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Alan,<br></div><div><br></div><div><span class=""><div></div><div>> What does <i>$site_URL</i> mean? Is the the CRM url or the portal url?</div></span>CRM Url (from config.inc.php)</div><div><br></div><div>Earlier, we have used the variables $server_Path and $authenticate_Path for customer portal. Current version, We liked to deprecate these variables so we have retained it. We used $site_URL instead of $server_Path as Client.php(vtlib/Net/) depending on the site url. So we can ignore those older variables. I will update these in the next commit<br></div></div><span class=""><div><br></div><div>> It is a "bomb". That means it has no top-level directory, e.g. customer-portal/. This is not good practice.</div></span><div>Thank you for letting us know, I will reconstruct the zip on top-level directory<br></div><span class=""><div>
<br>
> Once unzipped, all files and directories are created with rwxrwxrwx. 
this is definitely not good practice. No files should need to be 
executable in this package from what I can see.</div></span><div>Thank you. We will check file permission while updating the zip.<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-8671871671773278213gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><span style="font-family:verdana,sans-serif"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)">regards,</span></span><br>Satish.Dvnk</span></b><br></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Thu, Feb 1, 2018 at 3:53 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In PortalConfig.php:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
global $server_Path;<br>
global $portal_Path; *Doesn't seem to exist anywhere else*<br>
<br>
//CRM URL without trialing/<br>
//Example: <a href="http://yourdomain.com/crm" rel="noreferrer" target="_blank">http://yourdomain.com/crm</a><br>
$server_Path = "";<br>
<br>
//Portal URL without trialing/<br>
//Example: <a href="http://yourdomain.com/portal" rel="noreferrer" target="_blank">http://yourdomain.com/portal</a><br>
$authenticate_Path = "";<br>
</blockquote>
<br>
Then in config.php we get:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        protected static function getData() {<br>
                global $site_URL; *is referenced in a few places but not configured anywhere*<br>
                global $maxFileSize;<br>
                global $defaultUiLanguage;<br>
                global $availableLanguages;<br>
                $crmUrl = self::$data['crm.url'];<br>
<br>
                if (!empty($site_URL) && strpos($crmUrl, $site_URL) === false) {<br>
                        self::$data['crm.url'] = $site_URL.$crmUrl;<br>
                }<br>
                self::$data['upload_max_filesi<wbr>ze'] = $maxFileSize;<br>
                self::$data['ui.Language'] = $defaultUiLanguage;<br>
                self::$data['languages'] = $availableLanguages;<br>
                self::$data['server_Path'] = $server_Path; *server?* What "server?<br>
                self::$data['authenticate_Path<wbr>'] = $authenticate_Path; *authenticate*? again confusing.<br>
                return self::$data;<br>
</blockquote>
<br>
I have no idea what is supposed to be what?<br>
<br>
What does $site_URL mean? Is the the CRM url or the portal url? Giving your variables some sensible descriptive names would be a help ;-)<br>
<br>
I don't really understand what authenticate_url means either? Surely the person logging in authenticates against what is configured in vtiger?<br>
<br>
Confused.<br>
<br>
Al<br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>