Support

Admin Tools for WordPress

#40660 Akeeba Kickstart not loading in XAMPP

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
6.5.2
PHP version
8.2
Admin Tools version
1.6.5

Latest post by nicholas on Monday, 06 May 2024 03:07 CDT

tmichel

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

I know this isn't about AdminTools, but I am desperate to be pointed in the right direction.

I installed XAMPP on my Macbook Pro and a new site in Applications/XAMPP/htdocs/vnalexander.com/vnunpackwp.php β€” I renamed kickstart.php to vnunpackwp.php

when I run http://localhost/vnalexander.com in a browser I see the AkeebaBackupArchive.jpa file and vnunpackwp.php

when I run http://localhost/vnalexander.com/vnunpackwp.php all I get is a white screen and not the kickstart prompt.

I have done this a thousand times and have never spent more that 15 minutes getting a site up and running, but I have never tried this with XAMPP on a Macbook Pro

Any documentation you could point me to would be greatly appreciated. I have been looking all day and found nothing that helped me get past this knothole.

If you decide to respond, thank you so much.

nicholas
Akeeba Staff
Manager

It's okay, you've been a client long enough to warrant an answer to a question for a product you're not subscribed to :)

A white page is, in fact, a server error in disguise.

Do you have a .htaccess on that site? Remove it.

Re-download Kickstart 8.0.4. That's the latest version at the time of this writing. Don't trust that you had a recent version of it.

Make a test.php file with just <?php phpinfo(); in it and open it through a browser. Is your PHP version really PHP 8.2, or do you have something that's either older than 5.4, or newer than 8.3?

Are your memory limits realistic? XAMPP was (and probably still is) shipping with a PHP memory_limit of 8M which was great back in 2004, but it's laughably low in 2024 when the recommended value is 128M.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tmichel

PHP Version 8.2.4

Apache Version: 2.4.56

mod_perl_version: 2.0.12

memory_limit: 512M

output_buffering: 4096

no .htaccess file that I can find,

I can run localhost/vnalexander.com/php-info.php and I get several pages of configurations files

If I run localhost/vnalexander.com/vnunpackwp.php, I get a blank white screen.

So on the one hand a basic PHP file with <?php phpinfo() ?> for contents produces a page of PHP configurations but vnunpackwp.php, which contains the PHP code to unpack the archive and initialize the installer, produces a white screen.

So I am going to keep reading until I figure this out, unless you spot something obvious, like you are so good at doing. Like you, I would like to see democracy come to the Internet.

Apache Environment

UNIQUE_ID ZjMHFemJYU1o8ymkHWa1tgAAAAg
HTTP_HOST localhost
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING gzip, deflate, br, zstd
HTTP_DNT 1
HTTP_SEC_GPC 1
HTTP_CONNECTION keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_SEC_FETCH_DEST document
HTTP_SEC_FETCH_MODE navigate
HTTP_SEC_FETCH_SITE none
HTTP_SEC_FETCH_USER ?1
HTTP_PRIORITY u=1
PATH /sbin:/usr/sbin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
DYLD_LIBRARY_PATH /Applications/XAMPP/xamppfiles/lib
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/2.4.56 (Unix) OpenSSL/1.1.1t PHP/8.2.4 mod_perl/2.0.12 Perl/v5.34.1
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /Applications/XAMPP/xamppfiles/htdocs
REQUEST_SCHEME http
CONTEXT_PREFIX no value
CONTEXT_DOCUMENT_ROOT /Applications/XAMPP/xamppfiles/htdocs
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /Applications/XAMPP/xamppfiles/htdocs/vnalexander.com/php-info.php
REMOTE_PORT 54476
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /vnalexander.com/php-info.php
SCRIPT_NAME Β 

PHP configuration is as follows:

allow_url_fopen On On
allow_url_include Off Off
arg_separator.input & &
arg_separator.output & &
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset UTF-8 UTF-8
default_mimetype text/html text/html
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors On On
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
enable_post_data_reading On On
error_append_string no value no value
error_log /Applications/XAMPP/xamppfiles/logs/php_error_log /Applications/XAMPP/xamppfiles/logs/php_error_log
error_log_mode 0644 0644
error_prepend_string no value no value
error_reporting 22527 22527
expose_php On On
extension_dir /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829 /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20220829
fiber.stack_size no value no value
file_uploads On On
hard_timeout 2 2
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/Applications/XAMPP/xamppfiles/lib/php .:/Applications/XAMPP/xamppfiles/lib/php
input_encoding no value no value
internal_encoding no value no value
log_errors On On
mail.add_x_header On On
mail.force_extra_parameters no value no value
mail.log no value no value
mail.mixed_lf_and_crlf Off Off
max_execution_time 120 120
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
max_input_vars 1000 1000
max_multipart_body_parts -1 -1
memory_limit 512M 512M
open_basedir no value no value
output_buffering 4096 4096
output_encoding no value no value
output_handler no value no value
post_max_size 40M 40M
precision 14 14
realpath_cache_size 4096K 4096K
realpath_cache_ttl 120 120
register_argc_argv Off Off
report_memleaks On On
report_zend_debug Off Off
request_order GP GP
sendmail_from no value no value
sendmail_path /usr/sbin/sendmailΒ -tΒ -i /usr/sbin/sendmailΒ -tΒ -i
serialize_precision 100 100
short_open_tag Off Off
SMTP localhost localhost
smtp_port 25 25
sys_temp_dir no value no value
syslog.facility LOG_USER LOG_USER
syslog.filter no-ctrl no-ctrl
syslog.ident php php
unserialize_callback_func no value no value
upload_max_filesize 40M 40M
upload_tmp_dir /Applications/XAMPP/xamppfiles/temp/ /Applications/XAMPP/xamppfiles/temp/
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
zend.assertions -1 -1
zend.detect_unicode On On
zend.enable_gc On On
zend.exception_ignore_args Off Off
zend.exception_string_param_max_len 15 15
zend.multibyte Off Off
zend.script_encoding no value no value
zend.signal_check Off

Off

tmichel

Here is all the information returned by phpinfo(), see attached

nicholas
Akeeba Staff
Manager

Download Kickstart Core from our site.

Extract the ZIP file.

Copy kickstart.php to your site's root; do not rename.

Edit kickstart.php.

Find this line

//define('KSDEBUG', 1);

and change it to read

define('KSDEBUG', 1);

Try accessing the /kickstart.php URL of your local site.

If it fails again, look in your site's root. There should be a file named kickstart_error_log. Put it in a ZIP file and attach it with your next reply.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tmichel

Uncommenting //define('KSDEBUG', 1); allowed the app to load. Can I go ahead and unpack and install the archive with KSDEBUG running?

nicholas
Akeeba Staff
Manager

Yes, absolutely.

The weird thing is that this flag does nothing more than increase the PHP error level (PHP now reports even notices and deprecated notices), redirects all PHP error output (i.e. deprecated notices, notices, warnings, and errors) to a log file, and creates a log file called debug.txt which details what Kickstart is doing.

When this flag is not set Kickstart sets the lowest PHP error level (do not report anything, not even errors), turns off all PHP error output, and disables the logs.

That is to say, turning on the flag like you did is more likely to cause a problem but impossible to solve any problem. I have a feeling that what actually did it may have been refreshing the kickstart.php file itself, or using that name instead of whatever else you were using. I have to say, I did think that this might be necessary, which is why I had you go through the whole rigmarole.

Well, at least now it works. Just remember to delete the kickstart_error_log and debug.txt files after the archive extraction is complete. These files are NOT removed automatically.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tmichel

I tried unpacking using the newly downloaded and modified kickstart.php an I get:

An error occurred

An unexpected error occurred

Wbat are the next steps? I am reading hte troubleshooting guides as I go, but not finding relief.

Β 

kickstarter.log is attached

tmichel

See attached kickstart_error_log

tmichel

OK, one more time. attached is now kickstart_error_log.txt, txt so it will now pass inspection, hopefully.

I can't get past the error message.

This is what is throwing hte error:

fseek($this->fp, 0); $this->currentPartOffset = 0;
return true;

There are no parts, only .jpa no .j01, .j02, etc

nicholas
Akeeba Staff
Manager

It looks like you have an incomplete or truncated backup archive. Please check if the size of the file you have on your server and what you have downloaded match. Don't look at Megabytes; look at the precise byte length in both cases (in Windows 1Kb = 1000 bytes, on most servers 1Kb = 1024 bytes, thus the size discrepancy becoming more substantial the bigger the file is).

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tmichel

I thought about that so I tried to install a different archive, and, I got it installed.

Thank you so much for your time. Akeeba products are the best security products available for Joomla and WordPress. The technical support is like none other that anyone could ever hope to find anywhere, the very best.

Thanks

By the way, this is my first time installing on a Macbook Pro. Macbook Pros have a lot of hidden security features that need to be taken into account and understood.

nicholas
Akeeba Staff
Manager

Thank you for the kind words :)

I switched from a MacBook Pro to a Linux box, gradually starting from December 2022 until I gave up on Apple in February 2024. It's not so much hidden security features as booby traps installed with every update. If I can't even get real root, it's not my computer anymore.

I understand the appeal of MBP (looks nice, good build quality, incredible battery life, excellent thermals) but I've decided that all of that are ultimately nice-to-haves for my use case. The top requirements of being in control and having flexibility were no longer met. Add to that the blatant anti-consumer behaviour of Apple and you can probably see why I quit their ecosystem :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!