Topic-icon Installation Errors

Active Subscriptions:

None
5 years 4 months ago #64865 by [email protected]
When trying to install JFBConnect v8.0.4 in a fresh Joomla! 3.9.1 installation (PHP 7.2.13) , I get the following error: 'Call to a member function get() on string'.
The topic has been locked.
Support Specialist
5 years 4 months ago #64866 by alzander
Replied by alzander on topic Installation Errors
In looking through our Autotune logs, we can see that you've been able to run all the Autotune tools on your site. Autotune is run after JFBConnect is installed, which means things seem to have installed properly.

Can you let me know:
* When you get the error message above? I'm assuming it's when you use the Joomla installer. If there are other messages, like "Installation success", please let us know those as well.
* If you're experiencing any issues with JFBConnect, and if so, what?
* You mention a fresh Joomla 3.9.1 installation. Just to be sure, no prior version of JFBConnect has been installed on this site?

We'll try some further tests installing on Joomla 3.9.1, but right now, I'm unsure what could be wrong. Knowing if there are any functional issues, and what they are, can help narrow things down further as well.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 4 months ago #64868 by [email protected]

alzander wrote: In looking through our Autotune logs, we can see that you've been able to run all the Autotune tools on your site. Autotune is run after JFBConnect is installed, which means things seem to have installed properly.


That's partly correct. We tried to get JFBConnect up and running in the dev environment of one of our clients. That site runs Joomla! 3.9.1 with PHP 5.6.38. We managed to install and succesfully run Autotune. However, we then ran into trouble trying to create a channel, especially when selecting the channel owner. It currently shows the message:

The selected user has not granted the 'manage_pages' permission. Please have them login on the front-end of the site and accept the correct permission. If you have not gone through the app review process for these permissions, ensure your Facebook Application is in development mode.

Confusing because the app is in development mode.

We also experienced difficulties trying to login in the font end using SCLogin. In firefox the console shows:

Load denied by X-Frame-Options: www.facebook.com/connect/ping?client_id=...dk=joey&version=v2.6 does not permit framing.

So we decided to first try to get JFBConnect running in a fresh Joomla! installation, without any other extensions.

alzander wrote: * When you get the error message above? I'm assuming it's when you use the Joomla installer. If there are other messages, like "Installation success", please let us know those as well.


Yes, we use the Joomla! installer and no, no other messages (see attachment). JFBConnect does appear in the Components menu though.

alzander wrote: * If you're experiencing any issues with JFBConnect, and if so, what?


Thus far the ones I mentioned above.

alzander wrote: * You mention a fresh Joomla 3.9.1 installation. Just to be sure, no prior version of JFBConnect has been installed on this site?


No prior version was installed.
The topic has been locked.
Support Specialist
5 years 4 months ago #64869 by alzander
Replied by alzander on topic Installation Errors
The channel error you get will happen whether you are in development mode or live mode. When you create a channel, the user you setup must authenticate on the front-end to grant that permission before you can continue setting up the channel in the admin area. You will want your app in Development mode *and* the user will need to be an admin of the Facebook app to be able to have that permission requested of them. If you need to setup channels for users that aren't admins of the Facebook App, you'll have to go through the review process, which is a lengthier and more tedious process.

We also experienced difficulties trying to login in the font end using SCLogin. In firefox the console shows:

I'm unsure what that error means. Can you tell me what else happens when you try to login? There are usually multiple Javascript errors that occur when integrating with social networks as each browser blocks and enables specific features, and so the social networks try many avenues to get around those limitations. Some suggestions/questions:
* Can you try in Chrome and let me know if it works there?
* In Firefox, there are tracking and privacy options. Please disable those as some privacy tracking features can disable large portions of Facebook. There's nothing we can do about those limitations when they are enabled.
* In JFBConnect, set the "Show 'Login Credentials' in Popup" setting to 'No'. That disables the Javascript based login routine and uses a server redirect mechanism, which eliminates many tracking/browser issues that can happen.

As for the JFBConnect installation, I just tested installing JFBConnect 8.0.4 on Joomla 3.9.1 using PHP 7.2.11 and did not receive any errors or warnings. Other than the slightly off PHP version, it's the same as what you're doing, so I'm not sure where the difference is.

For my test, it's a fresh Joomla installation with no other extensions installed. JFBConnect does try to detect some other extensions (JomSocial, K2, EasySocial, etc) and will install additional plugins. Do you have any other components installed when you try to install on the PHP 7.2 site?

Finally, for the issues you're having.. are there any on the PHP 7.2 site, are you able to get into the admin area on that site? I understand the errors on your dev site, but I can't tell if the error you get on installation on PHP 7.2 is preventing any use or if you're just running into the same types of issues as on the development site.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 3 months ago #64886 by [email protected]
Hi Alex,

I took the liberty to follow up on the Social Channel configuration and associated SCLogin issue issue in another post (see www.sourcecoast.com/forums/jfbconnect/jf...for-existing-channel).

As for your response/questions concerning the JFBConnect installation:

alzander wrote: As for the JFBConnect installation, I just tested installing JFBConnect 8.0.4 on Joomla 3.9.1 using PHP 7.2.11 and did not receive any errors or warnings. Other than the slightly off PHP version, it's the same as what you're doing, so I'm not sure where the difference is.


Neither am I. Is it helpful to give you access to this site?

alzander wrote: For my test, it's a fresh Joomla installation with no other extensions installed. JFBConnect does try to detect some other extensions (JomSocial, K2, EasySocial, etc) and will install additional plugins. Do you have any other components installed when you try to install on the PHP 7.2 site?


No, it's a fresh Joomla! 3.9.1 installation, with nothing but demo data and no 3rd party extensions installed

alzander wrote: Finally, for the issues you're having.. are there any on the PHP 7.2 site, are you able to get into the admin area on that site? I understand the errors on your dev site, but I can't tell if the error you get on installation on PHP 7.2 is preventing any use or if you're just running into the same types of issues as on the development site.


Yes I can access the whole site completely. I am pretty sure they are different issues, because installation on the dev site went smoothly and the issues concerned configuring a channel and using SClogin. On the fresh J! 3.9.1 I did not even try that, because the problems occur during installation.

Let me know what you need to investigate the problem yourself.

Kind regards,
Pieter-Jan de Vries
The topic has been locked.
Support Specialist
5 years 3 months ago #64904 by alzander
Replied by alzander on topic Installation Errors
I'm definitely perplexed. If you could private message me your site and admin credentials, we'll gladly try to install and see what could be going wrong.

You can PM me by clicking the mail icon under my name to the left.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 3 months ago #64907 by [email protected]
I created a personal account to follow up on this topic directly.
The topic has been locked.
Active Subscriptions:

None
5 years 3 months ago #64916 by [email protected]
First of all a Happy New Year to the whole SourceCoast team.

Then the first question in this new year: have you been able to look into the installation problem in our Joomla! 3.9.1 test environment yet?
The topic has been locked.
Support Specialist
5 years 3 months ago #64928 by alzander
Replied by alzander on topic Installation Errors
Pieter,
I'm sorry for the delayed response. I did access your development website to test. When I install JFBConnect, I get a popup message that simply says "Error". That's not something we've ever seen before or understand why it's happening.

In your first message, you noted that the error was:

I get the following error: 'Call to a member function get() on string'.

Where are you seeing that message? I seem to be seeing something different.

Also, on the development site, I see that JFBConnect v8.0.4 is actually installed. Can you tell me how you installed it? My only suggestion was going to be to try a Install From Directory option where you copy the JFBConnect package to your site and install locally. Maybe that's what you've already done, but any details you can provide on the error message you're getting (how you're seeing it) and how JFBConnect was actually installed will help.

Thanks,
Alex
The topic has been locked.
Support Specialist
5 years 3 months ago #64931 by alzander
Replied by alzander on topic Installation Errors
We also just received another report from a user with the same issue. We're asking for more details from them to hopefully narrow down a common cause.

www.sourcecoast.com/forums/jfbconnect/jf...or-installing#p64930

Thanks,
Alex
The topic has been locked.