Compile Not Working #90

Closed
opened 2017-05-30 16:33:11 +00:00 by Colorado4Wheeler · 12 comments
Colorado4Wheeler commented 2017-05-30 16:33:11 +00:00 (Migrated from github.com)

I just installed CB and wanted to compile the demo component just to see how it worked and in your video it shows the animated GIF of it stamping out boxes but on my system it just goes to a blank screen that never refreshes. In the end it never builds anything, there are no files in tmp.

I am running Joomla 3.6.5 on PHP 5.6.30, fresh installation. Is there a PHP module that your system relies on that perhaps I've not installed?

I just installed CB and wanted to compile the demo component just to see how it worked and in your video it shows the animated GIF of it stamping out boxes but on my system it just goes to a blank screen that never refreshes. In the end it never builds anything, there are no files in tmp. I am running Joomla 3.6.5 on PHP 5.6.30, fresh installation. Is there a PHP module that your system relies on that perhaps I've not installed?

Please upgrade to Joomla 3.7.2

If Joomla works then JCB should also work.

Please upgrade to Joomla 3.7.2 If Joomla works then JCB should also work.
Colorado4Wheeler commented 2017-05-30 17:02:49 +00:00 (Migrated from github.com)

Thank you, I updated to 3.7.2 and the same issue persists.

Thank you, I updated to 3.7.2 and the same issue persists.

Well this is clearly not a JCB problem, so to help you is very difficult. JCB is working on many dev systems. Best I can suggest is to check logs, uninstall JCB & reinstall.

Is this on a local developer environment?

If so you need to check that all the needed php modules are on. They usually get checked during Joomla install... lets see here is a list of those on my system:

  • bcmath
  • bz2
  • calendar
  • Core
  • ctype
  • curl
  • date
  • dom
  • ereg
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • hash
  • http
  • iconv
  • json
  • libxml
  • mbstring
  • mcrypt
  • mhash
  • mysql
  • mysqli
  • mysqlnd
  • openssl
  • pcntl
  • pcre
  • PDO
  • pdo_mysql
  • Phar
  • posix
  • propro
  • raphf
  • readline
  • Reflection
  • session
  • shmop
  • SimpleXML
  • sockets
  • SPL
  • standard
  • sysvmsg
  • sysvsem
  • sysvshm
  • tokenizer
  • wddx
  • xdebug
  • xml
  • xmlreader
  • xmlwriter
  • xsl
  • Zend OPcache
  • zip
  • zlib

[Zend Modules]

  • Xdebug
  • Zend OPcache

I am sure you may not need them all to get JCB to work...

Well this is clearly not a JCB problem, so to help you is very difficult. JCB is working on many dev systems. Best I can suggest is to check logs, uninstall JCB & reinstall. Is this on a local developer environment? If so you need to check that all the needed php modules are on. They usually get checked during Joomla install... lets see here is a list of those on my system: - bcmath - bz2 - calendar - Core - ctype - curl - date - dom - ereg - exif - fileinfo - filter - ftp - gd - gettext - hash - http - iconv - json - libxml - mbstring - mcrypt - mhash - mysql - mysqli - mysqlnd - openssl - pcntl - pcre - PDO - pdo_mysql - Phar - posix - propro - raphf - readline - Reflection - session - shmop - SimpleXML - sockets - SPL - standard - sysvmsg - sysvsem - sysvshm - tokenizer - wddx - xdebug - xml - xmlreader - xmlwriter - xsl - Zend OPcache - zip - zlib [Zend Modules] - Xdebug - Zend OPcache I am sure you may not need them all to get JCB to work...
Colorado4Wheeler commented 2017-05-30 17:16:58 +00:00 (Migrated from github.com)

I'll check to see, but I haven't had any problems yet - not to say that something isn't missing though.

I'll check to see, but I haven't had any problems yet - not to say that something isn't missing though.
Colorado4Wheeler commented 2017-05-30 17:29:38 +00:00 (Migrated from github.com)

Strange. I have a number of them and some that I tried to install via pkg don't exist for php56, do you see a particular one missing from this list that you suspect might be the culprit?

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Strange. I have a number of them and some that I tried to install via pkg don't exist for php56, do you see a particular one missing from this list that you suspect might be the culprit? [PHP Modules] bcmath bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring mcrypt mhash mysql mysqli mysqlnd openssl pcntl pcre PDO pdo_sqlite Phar posix readline Reflection session shmop SimpleXML sockets SPL sqlite3 standard sysvmsg sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache
Colorado4Wheeler commented 2017-05-30 17:37:03 +00:00 (Migrated from github.com)

Something I failed to mention about this process is that when I hit compile it just goes to a blank screen, but when I hit my back button I'll see the animated GIF file stamping out boxes but it still doesn't compile. That's probably inconsequential but I thought I should mention it.

Something I failed to mention about this process is that when I hit compile it just goes to a blank screen, but when I hit my back button I'll see the animated GIF file stamping out boxes but it still doesn't compile. That's probably inconsequential but I thought I should mention it.
Colorado4Wheeler commented 2017-05-30 19:28:08 +00:00 (Migrated from github.com)

Another update... I loaded the component on three other J! sites that I have that are all 3.7.2 on different hosts (i.e., HostGator) with the same result. I do completely understand this is running on many systems without an issue, I would love to find the common problem that is preventing both my hosted Joomla sites as well as my dedicated machine dev server to act this way. Whatever I can do to assist in figuring this out I am at your disposal. I'm excited to get this working before I subscribe.

My sites are running PHP 5.6, 7.0 or 7.1, so a pretty good mix.

Another update... I loaded the component on three other J! sites that I have that are all 3.7.2 on different hosts (i.e., HostGator) with the same result. I do completely understand this is running on many systems without an issue, I would love to find the common problem that is preventing both my hosted Joomla sites as well as my dedicated machine dev server to act this way. Whatever I can do to assist in figuring this out I am at your disposal. I'm excited to get this working before I subscribe. My sites are running PHP 5.6, 7.0 or 7.1, so a pretty good mix.

Hey that is great, I mean your willingness to get this resolved.

JCB does not work on PHP 7 as yet.

Would you be able to turn PHP error reporting on. I mean do you see any error messages anywhere in any log? To fix it we need to see it, so without any info it is very hard to debug... can I have access to any of these systems, and would I be able to see the error log?

Hey that is great, I mean your willingness to get this resolved. JCB does not work on PHP 7 as yet. Would you be able to turn PHP error reporting on. I mean do you see any error messages anywhere in any log? To fix it we need to see it, so without any info it is very hard to debug... can I have access to any of these systems, and would I be able to see the error log?
Colorado4Wheeler commented 2017-05-30 20:40:54 +00:00 (Migrated from github.com)

Email sent.

Email sent.
Colorado4Wheeler commented 2017-05-30 21:50:06 +00:00 (Migrated from github.com)

So after some diagnostics from Llewellyn, everything ended up looking just fine until I tried it again. Then it dawned on me that the one variable left was my browser. This plugin will, apparently, NOT compile under Safari but when I used Chrome it worked perfectly.

So, there you go, don't use the plugin with Safari and everything works just fine!

Thanks Llewellyn, I appreciate your assistance!

So after some diagnostics from Llewellyn, everything ended up looking just fine until I tried it again. Then it dawned on me that the one variable left was my browser. This plugin will, apparently, NOT compile under Safari but when I used Chrome it worked perfectly. So, there you go, don't use the plugin with Safari and everything works just fine! Thanks Llewellyn, I appreciate your assistance!
ro-ot commented 2017-05-31 07:30:45 +00:00 (Migrated from github.com)

Testing JCB in Safari I also found this issue, console only gives the following info:

Refused to execute a JavaScript script. Source code of script found within request.

Any ideas what may be the cause?

I have looked over the code and I can't see any JavaScript being returned, which is the common reason for this type of error. This should be a very simple and small issue, lets try to resolve this.

Testing JCB in Safari I also found this issue, console only gives the following info: > Refused to execute a JavaScript script. Source code of script found within request. Any ideas what may be the cause? I have looked over the code and I can't see any JavaScript being returned, which is the common reason for this type of error. This should be a very simple and small issue, lets try to resolve this.

Any news on this front?

Any news on this front?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#90
No description provided.