new customer portal to support V7 changes
Merge request reports
Activity
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?)
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.dvnk - preg_match return is not being used in the right way. If it return is false then match fail - we should not proceed.
Added 1 commit:
- 95ab0da5 - Fixes #764 (closed) - vt71 - Multiple bugs Webforms
mentioned in commit 4f85fb3a