php7

Post

Posted
Rating:
#405 (In Topic #92)
Avatar
Standard member
na7kr is in the usergroup ‘Well-settled’
When will it support php7?
A source-code (database) file is missing.
 

mysqli

MysqlI Supportenabled
Client API library versionmysqlnd 5.0.12-dev - 20150407 - $Id: fd3bfdab644600c96b25beaf69d021447b7b4ec5 $
Active Persistent Links0
Inactive Persistent Links0
Active Links0
DirectiveLocal ValueMaster Value
mysqli.allow_local_infileOnOn
mysqli.allow_persistentOnOn
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socketno valueno value
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.max_persistentUnlimitedUnlimited
mysqli.reconnectOffOff
mysqli.rollback_on_cached_plinkOffOff

mysqlnd

mysqlndenabled
Versionmysqlnd 5.0.12-dev - 20150407 - $Id: fd3bfdab644600c96b25beaf69d021447b7b4ec5 $
Compressionsupported
core SSLsupported
extended SSLsupported
Command buffer size4096
Read buffer size32768
Read timeout31536000
Collecting statisticsYes
Collecting memory statisticsNo
Tracingn/a
Loaded pluginsmysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
API Extensionsmysqli,pdo_mysql
mysqlnd statistics 
bytes_sent0
bytes_received0
packets_sent0
packets_received0
protocol_overhead_in0
protocol_overhead_out0
bytes_received_ok_packet0
bytes_received_eof_packet0
bytes_received_rset_header_packet0
bytes_received_rset_field_meta_packet0
bytes_received_rset_row_packet0
bytes_received_prepare_response_packet0
bytes_received_change_user_packet0
packets_sent_command0
packets_received_ok0
packets_received_eof0
packets_received_rset_header0
packets_received_rset_field_meta0
packets_received_rset_row0
packets_received_prepare_response0
packets_received_change_user0
result_set_queries0
non_result_set_queries0
no_index_used0
bad_index_used0
slow_queries0
buffered_sets0
unbuffered_sets0
ps_buffered_sets0
ps_unbuffered_sets0
flushed_normal_sets0
flushed_ps_sets0
ps_prepared_never_executed0
ps_prepared_once_executed0
rows_fetched_from_server_normal0
rows_fetched_from_server_ps0
rows_buffered_from_client_normal0
rows_buffered_from_client_ps0
rows_fetched_from_client_normal_buffered0
rows_fetched_from_client_normal_unbuffered0
rows_fetched_from_client_ps_buffered0
rows_fetched_from_client_ps_unbuffered0
rows_fetched_from_client_ps_cursor0
rows_affected_normal0
rows_affected_ps0
rows_skipped_normal0
rows_skipped_ps0
copy_on_write_saved0
copy_on_write_performed0
command_buffer_too_small0
connect_success0
connect_failure0
connection_reused0
reconnect0
pconnect_success0
active_connections0
active_persistent_connections0
explicit_close0
implicit_close0
disconnect_close0
in_middle_of_command_close0
explicit_free_result0
implicit_free_result0
explicit_stmt_close0
implicit_stmt_close0
mem_emalloc_count0
mem_emalloc_amount0
mem_ecalloc_count0
mem_ecalloc_amount0
mem_erealloc_count0
mem_erealloc_amount0
mem_efree_count0
mem_efree_amount0
mem_malloc_count0
mem_malloc_amount0
mem_calloc_count0
mem_calloc_amount0
mem_realloc_count0
mem_realloc_amount0
mem_free_count0
mem_free_amount0
mem_estrndup_count0
mem_strndup_count0
mem_estndup_count0
mem_strdup_count0
proto_text_fetched_null0
proto_text_fetched_bit0
proto_text_fetched_tinyint0
proto_text_fetched_short0
proto_text_fetched_int240
proto_text_fetched_int0
proto_text_fetched_bigint0
proto_text_fetched_decimal0
proto_text_fetched_float0
proto_text_fetched_double0
proto_text_fetched_date0
proto_text_fetched_year0
proto_text_fetched_time0
proto_text_fetched_datetime0
proto_text_fetched_timestamp0
proto_text_fetched_string0
proto_text_fetched_blob0
proto_text_fetched_enum0
proto_text_fetched_set0
proto_text_fetched_geometry0
proto_text_fetched_other0
proto_binary_fetched_null0
proto_binary_fetched_bit0
proto_binary_fetched_tinyint0
proto_binary_fetched_short0
proto_binary_fetched_int240
proto_binary_fetched_int0
proto_binary_fetched_bigint0
proto_binary_fetched_decimal0
proto_binary_fetched_float0
proto_binary_fetched_double0
proto_binary_fetched_date0
proto_binary_fetched_year0
proto_binary_fetched_time0
proto_binary_fetched_datetime0
proto_binary_fetched_timestamp0
proto_binary_fetched_string0
proto_binary_fetched_json0
proto_binary_fetched_blob0
proto_binary_fetched_enum0
proto_binary_fetched_set0
proto_binary_fetched_geometry0
proto_binary_fetched_other0
init_command_executed_count0
init_command_failed_count0
com_quit0
com_init_db0
com_query0
com_field_list0
com_create_db0
com_drop_db0
com_refresh0
com_shutdown0
com_statistics0
com_process_info0
com_connect0
com_process_kill0
com_debug0
com_ping0
com_time0
com_delayed_insert0
com_change_user0
com_binlog_dump0
com_table_dump0
com_connect_out0
com_register_slave0
com_stmt_prepare0
com_stmt_execute0
com_stmt_send_long_data0
com_stmt_close0
com_stmt_reset0
com_stmt_set_option0
com_stmt_fetch0
com_deamon0
bytes_received_real_data_normal0
bytes_received_real_data_ps0

openssl

OpenSSL supportenabled
OpenSSL Library VersionOpenSSL 1.0.2g 1 Mar 2016
OpenSSL Header VersionOpenSSL 1.0.2g 1 Mar 2016
Openssl default config/usr/lib/ssl/openssl.cnf
DirectiveLocal ValueMaster Value
openssl.cafileno valueno value
openssl.capathno valueno value

pcre

PCRE (Perl Compatible Regular Expressions) Supportenabled
PCRE Library Version8.38 2015-11-23
PCRE JIT Supportenabled
DirectiveLocal ValueMaster Value
pcre.backtrack_limit10000001000000
pcre.jit11
pcre.recursion_limit100000100000

PDO

PDO supportenabled
PDO driversmysql

pdo_mysql

PDO Driver for MySQLenabled
Client API versionmysqlnd 5.0.12-dev - 20150407 - $Id: fd3bfdab644600c96b25beaf69d021447b7b4ec5 $
DirectiveLocal ValueMaster Value
pdo_mysql.default_socket/var/run/mysqld/mysqld.sock/var/run/mysqld/mysqld.sock

Last edit: by na7kr

Online now: No Back to the top

Post

Posted
Rating:
#406
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

What exact PHP version is this?

I tested on 7.0.2 last week and it was okay, but looks like I need to test again.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#408
Avatar
Standard member
na7kr is in the usergroup ‘Well-settled’
Version 7.0.5-2 
Online now: No Back to the top

Post

Posted
Rating:
#411
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Is this an older Composr release?

The error message for this case is now "A source-code (database) file is missing/corrupt/incompatible.".

… so I think you're testing on an old version, and we've already fixed it.

If not, try changing this line in sources/global.php:

Code

@include($path_orig);
to:

Code

include($path_orig);

And tell us what the error now is.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#413
Avatar
Standard member
na7kr is in the usergroup ‘Well-settled’
OK will look later I updated on Friday when I seen a new release so should be up to date
Online now: No Back to the top

Post

Posted
Rating:
#415
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
We changed the error message on Jan 31st, so it does look like you're trying on a very old version.
I suppose one possibility though is if you ran the debrand tool a long time back, as that would overide and older copy of sources/critical_errors.php with that old error message.

Anyway, if you try my suggested code change it may tell us something.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#416
Avatar
Standard member
na7kr is in the usergroup ‘Well-settled’
I found one @include($path_orig); and change it, Still same error.
Online now: No Back to the top

Post

Posted
Rating:
#418
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
If you want me to take a quick look directly on the server, email FTP access (or similar) to chris@ocproducts.com

I'll make sure this, and short URLs, both work.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#419
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ok, so I think the problem here was some confusion.

The "A source-code (database) file is missing." error message would be for old Composr and ocPortal versions from some months back. It no longer would apply.

However, a similar message might show, which might be mistaken as the same:
"The MySQL PHP extension not installed (anymore?). You need to contact the system administrator of this server, or use a different MySQL database driver (drivers can be chosen by editing _config.php)."

This error message is because PHP7 has dropped the mysql extension, and you now need to use the mysqli extension.

This is all I needed to make it work on this install :).

I will make the next Composr release smarter, it will auto-switch-over if it finds it has to.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#423
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Oh yes, 2 more notes…

Commandr was not compatible with PHP7. I've fixed that.

I've installed GD on your server, as that PHP extension was needed.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#432
Avatar
Standard member
na7kr is in the usergroup ‘Well-settled’
Thanks for the help
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,831 members
  • Our newest member is kritika12
Back to Top