We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3922
    • 21 Posts
    Вызов на странице:
    [!WebLoginPE? &type=`profile` &viewProfileTpl=`viewprofile`!]
    Шаблон viewprofile:
    [+wlpe.message+]
    <table id="wlpeViewProfileTable"> 
    	<tr> 
    		<td colspan=2 class="wlpeViewProfileHeader"><h3>Viewing the profile of "[+view.username+]":</h3></td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Username:</td> 
    		<td class="wlpeViewAttributeValue">[+view.username+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Full Name:</td> 
    		<td class="wlpeViewAttributeValue">[+view.fullname+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Email:</td> 
    		<td class="wlpeViewAttributeValue">[+view.email+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Phone Number:</td> 
    		<td class="wlpeViewAttributeValue">[+view.phone+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Mobile Phone Number:</td> 
    		<td class="wlpeViewAttributeValue">[+view.mobilephone+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Fax Number:</td> 
    		<td class="wlpeViewAttributeValue">[+view.fax+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">State:</td> 
    		<td class="wlpeViewAttributeValue">[+view.state+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Country:</td> 
    		<td class="wlpeViewAttributeValue">[+view.country+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Age:</td> 
    		<td class="wlpeViewAttributeValue">[+view.age+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Gender:</td> 
    		<td class="wlpeViewAttributeValue">[+view.gender+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Signature:</td> 
    		<td class="wlpeViewAttributeValue">[+view.comment+]</td> 
    	</tr> 
    	<tr> 
    		<td class="wlpeViewAttribute">Photo:</td> 
    		<td class="wlpeViewAttributeValue"><img src="[+view.photo+]" alt="[+view.photo+]" title="[+view.username+]" /></td> 
    	</tr> 
    	<tr> 
    		<td colspan="2" class="wlpeViewContact"> 
    			<form name="wlpeViewContactForm" method="post" action="[~[*id*]~]"> 
    				<fieldset id="wlpeViewContactFormFieldset"> 
    					<h4>Contact [+view.username+]</h4> 
    					<label for"wlpeViewContactSubject" id="wlpeViewContactSubjectLabel">Subject:
    						<input type="text" id="wlpeViewContactSubject" name="subject" /> 
    					</label> 
    					
    					<label for"wlpeViewContactMessage" id="wlpeViewContactMessageLabel">Message:
    						<textarea id="wlpeViewContactMessage" name="message"></textarea> 
    					</label> 
    				</fieldset> 
    				<fieldset id="wlpeViewContactButtons"> 
    					<button type="submit" id="wlpeContactSend" name="service" value="messageuser">Send Message to [+view.username+]</button> 
    				</fieldset> 
    			</form> 
    		</td> 
    	</tr> 
    </table>

    При заходе на страницу выводиться сообщение об ошибке:
    PHP error debug
    Error: include_once(/var/www/clients/client7/web11/web/assets/snippets/webloginpe/webloginpe.class.php) [function.include-once]: failed to open stream: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /var/www/clients/client7/web11/web/manager/includes/document.parser.class.inc.php(770) : eval()’d code
    Line: 24
    Версия WebLoginPE: 1.3.1
      • 1611
      • 591 Posts
      Ну а сам файл то лежит по этому пути? /var/www/clients/client7/web11/web/assets/snippets/webloginpe/webloginpe.class.php
        • 3922
        • 21 Posts
        В этом то все и дело...
        Да, на месте!
          • 1611
          • 591 Posts
          А имя совпадает? регистр?
          права на файл какие стоят?
          Директория правильная по которой он его ищет?
            • 11255
            • 193 Posts
            failed to open stream: No such file or directory
            точно указывает на то что файл не может быть открыт, т.к. возможно его там нету. не в модексе дело. ищите что с правами или что с файлом
              • 3922
              • 21 Posts
              Да проблема оказалась с правами...