Skip to content
Snippets Groups Projects

new customer portal to support V7 changes

Merged Satish requested to merge satish.dvnk/vtigercrm:prega into master

Merge request reports

Approval is optional

Merged by avatar (Mar 23, 2025 9:48am UTC)

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Hi, i'm try to install but it seem that does not work

    Warning: include_once(version.php): failed to open stream: No such file or directory in /home/demo2/public_html/customerportal/config.php on line 11 Warning: include_once(): Failed opening 'version.php' for inclusion (include_path='.:/usr/share/php') in /home/demo2/public_html/customerportal/config.php on line 11 Warning: Declaration of Portal_Index_View::templateFile() should be compatible with Portal_Default_View::templateFile(Portal_Request $request) in /home/demo2/public_html/customerportal/classes/Portal/views/Index.php on line 11

    i did not found file "version.php" (it was vtigerversion.php?)

  • Author Contributor

    Thanks @greencrm, version.php file is not required in portal. We will remove the line in the next commit

  • Prasad @prasad started a thread on the diff
27 $ok = $controller->authenticatePortalUser($request->get('username'), $request->get('password'));
28 if (!$ok) {
29 throw new Exception("Login failed", 1412);
30 }
31 }
32 }
33
34 static function process(CustomerPortal_API_Request $request) {
35 $operation = $request->getOperation();
36 $response = false;
37 preg_match("/[0-9a-zA-z]*/", $operation, $match);
38
39 if ($operation == $match[0]) {
40 $operationFile = sprintf('/apis/%s.php', $operation);
41 $operationClass = sprintf("CustomerPortal_%s", $operation);
42 include_once dirname(__FILE__).$operationFile;
  • Satish Added 1 commit:

    Added 1 commit:

  • Satish Added 2 commits:

    Added 2 commits:

    • 150d3ed6 - Portal privileges user removed from portal settings page
    • 26d1c49f - minor changes added and unnecessary code removed
  • Prasad Status changed to merged

    Status changed to merged

  • Prasad mentioned in commit 4f85fb3a

    mentioned in commit 4f85fb3a

  • Please register or sign in to reply
    Loading