Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0034142mantisbtinstallationpublic2024-04-14 07:28
Reportervictorespina Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformApacheOSCentOSOS Versionnot available
Product Version2.26.1 
Summary0034142: Class "VBoctor\Email\DisposableEmailChecker" not found
Description

Trying a clean install on a shared hosting server with the following environment:

PHP v8.0.28
Apache 2.4.6 (CentOS)
MySQL 8.0.26-17

Installation was made on a fresh empty database. Installation was successful but when trying to signup a new user program fails because can't find class VBoctor\Email\DisposableEmailChecker cant be found.

Steps To Reproduce
  1. Perform a clean install
  2. Load the login page
  3. Press the signup button
  4. Enter the user info and try to register
Additional Information

INTERNAL APPLICATION ERROR

Class "VBoctor\Email\DisposableEmailChecker" not found

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Detailed error information
Full path: /data/11/0/133/105/785920/user/804992/htdocs/mantis/core/error_api.php
Line number: 92
Stack trace

Filename Line Class Type Function Args

0 /data/11/0/133/105/785920/user/804992/htdocs/mantis/core/email_api.php 226 - - email_is_disposable <string>'vespinas@gmail.com'
1 /data/11/0/133/105/785920/user/804992/htdocs/mantis/core/user_api.php 736 - - email_ensure_not_disposable <string>'vespinas@gmail.com'
2 /data/11/0/133/105/785920/user/804992/htdocs/mantis/signup.php 84 - - user_signup <string>'victorespina', <string>'vespinas@gmail.com'

TagsNo tags attached.

Relationships

related to 0034143 closedatrol MySQL 8 won't accept time() values for DATETIME columns 

Activities

atrol

atrol

2024-03-20 03:14

developer   ~0068673

Please provide information as mentioned in forum https://www.mantisbt.org/forums/viewtopic.php?t=30030

victorespina

victorespina

2024-03-20 09:43

reporter   ~0068674

Last edited: 2024-03-20 09:44

This is the result form admin/check.php:

PHP
register_argc_argv php.ini directive is disabled
This directive should be disabled to increase performance (it only affects PHP in CLI mode). WARN
display_startup_errors php.ini directive is disabled
For security reasons this directive should be disabled on all production and Internet facing servers. WARN
PHP errors are being logged or reported
PHP is not currently set to log or report errors and thus you may be unaware of PHP errors that occur. WARN
shell_exec function is enabled
This function has been disabled by the disable_functions php.ini directive. MantisBT may not operate correctly with this function disabled. WARN
passthru function is enabled
This function has been disabled by the disable_functions php.ini directive. MantisBT may not operate correctly with this function disabled. WARN
exec function is enabled
This function has been disabled by the disable_functions php.ini directive. MantisBT may not operate correctly with this function disabled. WARN
system function is enabled
This function has been disabled by the disable_functions php.ini directive. MantisBT may not operate correctly with this function disabled. WARN
Database
Version of MySQL being used is within the Premier Support period (GA + 5 years)
Premier Support for the release of MySQL you are using (8.0.26) ended on 2023-04-19. The release is in its Extended support period, which ends on 2026-04-19. You should upgrade to a newer version of MySQL which is still within its Premier support period to benefit from bug fixes and security patches. WARN
Configuration
Detailed errors should be OFF
Setting show_detailed_errors = ON is a potential security hazard as it can expose sensitive information. WARN
Paths
absolute_path_default_upload_folder configuration option points to a valid directory
The path '/mantis/uploads/' is not a valid directory. FAIL
absolute_path_default_upload_folder configuration option points to an accessible directory
The path '/mantis/uploads/' is not accessible. FAIL
absolute_path_default_upload_folder configuration option points to a writable directory
The path '/mantis/uploads/' must be writable. FAIL

I would check the issue with the upload folder but I don't think this to be related to the problem reported itself. Also I checked the source code in the repo and it seems that the files core/database_api.php and core/email_api.php are exactly to the ones I got from the SourceForge deploy package.

dregad

dregad

2024-03-21 03:40

developer   ~0068681

DisposableEmailChecker is a bundled library.

If you installed from Git, you need to run composer install to ensure all libraries are available.
If you downloaded from SourceForge, then something is wrong with the installation; make sure <mantis root>/vendor/vboctor/disposable_email_checker exists and is readable by the web server.

victorespina

victorespina

2024-03-21 10:00

reporter   ~0068682

You are right. Somehow the FTP upload process failed to upload some files, including that class. I am refreshing the install in case any other file is actually missing but this seems to be the problem. Thanks for your help.

dregad

dregad

2024-03-21 14:09

developer   ~0068684

Thanks for the feedback.