Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lc_connector PHP error #39

Closed
ebaiden opened this issue Aug 26, 2012 · 2 comments
Closed

lc_connector PHP error #39

ebaiden opened this issue Aug 26, 2012 · 2 comments

Comments

@ebaiden
Copy link

ebaiden commented Aug 26, 2012

There's a HUGE problem with the lconnector. I know it! I posted it here because this is where it seems to be the most active.
Check this out.
I installed LC in its own file in my "test" subdomain. I also renamed the litecommerce file to /shop.
Everything went beautifully after LC installation. Then I unpacked the lc_connector zip folder in the " /sites/all/modules/"
I even went to the litecommerce cms and ticked the lc connector thing (which by the way, i dont think it lets me tick it anymore, its default says "disabled" )
THEN I went to lc_connector.info and you know the line that says "lc_dir_default =" ? from my understanding this is where your litecommerce is located, which is under my subdomain in my /shop folder (i renamed litecommerce to shop).
So I put " lc_dir_default = ./shop " (am I doing okay so far?)

As I went to drupal's backend to enable the lc_connector, EVERYTHING just went downhill.
There's a big PHP error in a red background all over my site (not the shop) the actual site.
its just a huge mess.
When I even go to do basic tasks in drupal the error message is just there, and I have to scroll down to do look for actions and stuff.
The only way I can go back to doing error-free actions in drupal is by removing the lconnector folder from the /sites/all/modules or in the modules section in drupal un-enable the lconnector.
Then both my site and my Lite Commerce are two different unconnected sites.
Oh please, won't you help?
I tested this previously in another subdomain and it worked beautifully, I was even able to syncronize it in drupal.
When I click the settings section in the Enabled litecommerce (in drupal) it still says ./shop and after I messed with it it now says ./shop/
please I need to know what's going on, everything's pointing to the wrong things and missing things. Makes no sense.

go to "test.richlanbiz.com" to see the weird errors thingy.
and this is my sad lil unconnected shop untouched by the PHP weirdness "test.richlanbiz.com/shop "

--- Update

I was using lc_connector-1.0.10

Now I am using lc_connector-7.x-1.2

still no luck

@fundaev
Copy link
Member

fundaev commented Aug 27, 2012

Could you, please, provide us with the text of the PHP error, mentioned by you?

Thank you.

@ebaiden
Copy link
Author

ebaiden commented Sep 1, 2012

Hi there, the problem is resolved.
The issue was that I had deleted the sole user by accident which happened to be the admin. So while signing in as the admin, I couldn't access it, which made it look like someone had hacked into the site.

The way to retrive it is of course making a new user by going to the storefront, then using a MYSQL client software (like phpMyAdmin) you run a SQL-query with the following code:

UPDATE xlite_profiles SET access_level=100 WHERE login='customer@example.com';

of course you replace the customer@example.com part with your real email address.

This is the crucial part: If you do access the backend and it happens to be blank, meaning with the exception of the LC themed header displayed, but no images, words, links etc.,
go to the settings (I think it's profile... or whichever you change your personal information)
scroll to Membership type and select Wholesale. Everything should pop up then.

@fundaev fundaev closed this as completed Oct 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants