SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Login problem after upgrating to J3.5

3 years 8 months ago #125202 by uzbaby
Hello. I made upgrade from 3.4.8 to 3.5. First 2 hours everything worked perfect. But later no admin no user could login to front-end.

No error. I can login to the main page. Then if I go to another page it automatically loguot. If I login again it writes :The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

Also I cant login to site via 3rd party extension: Kunena login form.

Admin login works perfect.
Problem is only in the front end login.

I cleared cache, trancated database _session, cleared browser but nothing changes.

Any help please

Please Log in to join the conversation.

3 years 8 months ago #125203 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi and welcome, uzbaby!

It's a bug in the upgrade process that Joomla will likely fix with the next release.

It sounds like you might have done this already, but please try the following:
1) Clear your browser cache and cookies. Please note that clearing your browser's cookies will log you out of all websites on your browser, so please make sure you're not in the middle of writing an email or other important tasks, since you'll be logged out and have to log back in.

2) Log into the admin and clear the site cache. Clear the expired cache too (you can get to it from the left menu in the cache area).

That should get you in. Let us know if it doesn't though.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125204 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick.
I did everything that you said but problem is still there.

Please Log in to join the conversation.

3 years 8 months ago #125213 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Strange. Let's figure it out for you.

Do you have Admin Tools ( extensions.joomla.org/extension/admin-tools ) installed? If not, please install it then go to:
1) Components
2) Admin Tools
3) Repair and optimize tables

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125253 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick,
thank you, I did all that you said. Downloaded, optimized, optimizing was complete. But the problem not solved.

Please Log in to join the conversation.

3 years 8 months ago #125273 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
Hi uzbaby,

May I have access to take a look? Please email us to support@ostraining.com - include the url of this forum topic in the message, then reply here

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125328 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Valentin,

Sure.
I sent to support@ostraining.com all info that you asked.
Thank you in advance. Hope you will find that unlucky issue.

Please Log in to join the conversation.

3 years 8 months ago - 3 years 8 months ago #125351 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
I can't visit the frontent because a redirection doesn't allow me to reach newuzbaby.com , instead it points to www.uzbaby.uz/

How did you setup the redirection?

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125406 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello,

No I dont need to reach newuzbaby.com, I need uzbaby.uz.
This is made from hosting settings. I set uzbaby.uz as parked domain. My hosting provided domain is newuzbaby.com.I always reached my site via uzbaby.uz before that upgrade to 3.5

Please Log in to join the conversation.

3 years 8 months ago #125464 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
Hi uzbaby,
I understand.

I received the access for newuzbaby.com only; may you send us the one for uzbaby.uz?

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125515 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hi Valentin.
It is not clear for me what you mean by asking access for uzbaby.uz.
My website is newuzbaby.com.
My cpanel is also on newuzbaby.com/ administrator.
My database, my files are all in newuzbaby.com.

I dont have cpanel for uzbaby.uz. It is just parked domain. And if you will go to newuzbaby.com you will have auto redirect to my parked domain uzbaby.uz.
I did this settings on my hosting site. There my primary domain is newuzbaby.com and parket domain uzbaby. Uz.

So how can I send you acsses to uzbaby.uz? Acsess is the same as for newuzbaby.com.

Please Log in to join the conversation.

3 years 8 months ago #125522 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Thanks for clarifying. The front-end login works fine at www.uzbaby.uz/ . I log in then go to another page, it keeps me logged in. Sometimes it appears to be logged out (due to the form), but when I go to another page again, I'm shown as logged in.

So this part:

The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.


Is due to you trying to log in when you're already logged in (though it shows you as logged out).

So it appears to be some sort of caching issue. I'd recommend turning off all your caching, then seeing if the issue still occurs. If it doesn't, then turn on the caching settings one by one and check the site each time for the issue. Try to narrow it down to a specific setting.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125636 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Dear Valentin. I thougth OS training really helps with issues. But I dont get any help, though it last about one week after my subscribe.
The problem is still there.
One can login to front end, then as he goes to another page it shows logged out again. Then if he returns ONLY to main page it shows logged In.
Also noone can login to Forum. Noone can add articles.

What about cache as I mentioned several times I did turn off all caches, and tried to login. But issue didnt go. That's why I purchased OS training help, with hope that you can help.

Please Log in to join the conversation.

3 years 8 months ago #125645 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Sorry for the delay. Part of it is due to the time differences between time zones and also the weekend. Thanks for your patience.

Then if he returns ONLY to main page it shows logged In.

My experience in testing the site last time is that on some pages other than the main page, it also shows as logged in. Today, it shows only the home page as logged in.

What about cache as I mentioned several times I did turn off all caches, and tried to login. But issue didnt go.

You mentioned clearing the cache (browser and admin) at the start of the discussion. That's different than totally disabling the caching options on the site, which is what I recommended in my last reply. No worries though, since I've double checked for you now.

I narrowed down the issue and it's in your template. You can double check by duplicating your Login module, then placing it in the Banner position for the Protostar template. Then go to one of your internal pages and add ?template=protostar to the end of the URL (e.g. www.yourdomain.com/some-page.html?template=protostar ). You'll see the login module on there and that you're logged in.

My recommendation is to check with Joomla Monster and see if they have an updated version of the template. Update to it and see if it fixes the problem. If it doesn't, contact Joomla Monster's support and show them the issue so that they can fix it for you. It will need a code change on their end.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125655 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hi Nick,
Before OS training, I contacted with my template developers. And webpth checked the same thing. When I change to core template via cpanel-templates, I still have the issue. You have acsees to my site, and you can check my words if you dont believe.
Core joomle tempale also gives issue with login.
The problem is not showing me login or not, was it ok yesterday or not, problem is if I want to add articlevia front end I cant, if I want to write comment on Kunena Forum I cant. If I want to add blog post I cant. And cant be logged in as usual, wihtout logging out.

Why you explain me that some day you could see that you was logged in in another page...is it matter if in some seconds it show that you logged out.

It look like you want to show me that there is no problem.
But problem is there. And I dont know why you dont help or cant help me

Please Log in to join the conversation.

3 years 8 months ago - 3 years 8 months ago #125702 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Thanks for your feedback. Unfortunately, I think it's a misunderstanding on your end. We appreciate your patience, but we'd also appreciate your cooperation and consideration.

The problem is not showing me login or not, was it ok yesterday or not, problem is if I want to add articlevia front end I cant, if I want to write comment on Kunena Forum I cant. If I want to add blog post I cant. And cant be logged in as usual, wihtout logging out.


Actually, if you look at your original comment and the rest of the discussion, it's about the login. We'd be happy to help with other issues too, but you must be reasonable.

Why you explain me that some day you could see that you was logged in in another page...is it matter if in some seconds it show that you logged out.


So that you can understand the issue. Understanding the issue is the key to properly resolving the issue. At OSTraining, our support philosophy is “Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for life.”

It look like you want to show me that there is no problem.
But problem is there. And I dont know why you dont help or cant help me


We've been helping you. Some issues are complicated and take a while to resolve. As you've seen, you've worked on this issue by yourself for a while and contacted other companies for support, but it hasn't been resolved. So it's a complicated issue.

Before OS training, I contacted with my template developers. And webpth checked the same thing. When I change to core template via cpanel-templates, I still have the issue. You have acsees to my site, and you can check my words if you dont believe.


I did check your site. Did you check what I suggested in my last reply? If you had done that, you would have noticed that it is indeed your template. I've now gone ahead and done the work for you.

You can see from the following four URLs that the login works well in Protostar:

Part of the message is hidden for the guests. Please log in or register to see it.


In the last URL, you can see that the login for the forum is working. You should be able to post in the forum using the above URL.

This shows that the issue is indeed your template and that it has to do with the login. It's a bug in the template that will need to be fixed via the code. The fix might already be available in the latest release of your template so please be sure to update it.

Alternatively, contact your template provider's support and show them the above URLs for Protostar. That will show them that it's a template issue.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125770 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hi Nick,
I change my website to photostar template. You can see it right now. I upgrade to Joomla 3.5.1.

Anyway the problem is still there.

In photostar you can login to FORUM as you said, YES it works. But as for artciles, you automatically logout again.

If you login via main page uzbaby.uz and then go to some article page : www.uzbaby.uz/homiladorlik/homilador-ayo...-ildoq-qaynashi.html
or any other article page
www.uzbaby.uz/homiladorlik/homilador-ayol-salomatligi.html

you logout again.

So as fpr Kunena if we will think that this is template problem, what problem is with article pages?
If I write to my template developers they state that there is no problem with template. They made several checkings too. And they also see that in article pages with Protostar templete nothing works either.

Please Log in to join the conversation.

3 years 8 months ago #125774 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Wow, that is very strange. Please try eliminating the domain redirect then test on the original domain to see if the issue occurs there. Looks like it may be the redirect, but I'm not certain. If you want, you can send cPanel login info to us (via the email) too.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125777 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick. I sent my hosting cpanel info.

Thank you.

Please Log in to join the conversation.

3 years 8 months ago #125792 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

I've done a lot of deep debugging and still can't figure it out. Looks like you might be using CloudFlare. Could you try disabling it temporarily then test the problem again?

Looking forward to helping more.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125795 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick,
Thank you,
As for cloudfare I dont even know what is it, can you disable it yourself? Because this is the first time when I hear about cloudfare.

As fo r my problem, I saw in some forums that issue is on database or in configuration. Php file. What do you think about my DB and configuration.php...can it the issue for login?

Please Log in to join the conversation.

3 years 8 months ago #125809 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
Hi uzbaby,
This is an interesting issue. I checked the backend, and I'm not sure which extension is calling the cloudflare file.

Does your hosting provider has a cache feature enabled? Please check with your hosting provider. I know by experience some providers enable automatically cache from cPanel that is beyond the Joomla CMS control.

Looking forward to help you

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125841 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Valentin,
I asked your questions from my hosting and they say there is no any cache features in my hosting account.

Please Log in to join the conversation.

3 years 8 months ago #125842 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
I dont know why this problem is so terrible. My site is working, even registration working, it looks like everything ok, but how can this be? Noone can login.
So strange issue. And if would be very serious my site couldnt worked at all bu it works.
Where is the problem?
So sad, so sad....please all my hope is your team!

Please Log in to join the conversation.

3 years 8 months ago #125844 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Please also check with them if "CloudFlare" is on the server at all.

Kind regards,
Nick

p.s. don't worry, we'll be glad to keep helping. It's a very complicated issue, so it might still takes some time, but we'll narrow it down until it's finally solved.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125848 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello,
I've just ask about cloudfare and they say no.
Maybe this will help.... You know when the problem began first when I tried to login it wrote me database mysql connection error. Then I restore my site for week before and updated to joomla 3.5 again. Then it wrote invalid token when I tried to login.
After some days when I cleared cache, disable one extansion(bt login) it stop showing any error. And like you see now it is just reloads page when you want to login.

Please Log in to join the conversation.

3 years 8 months ago - 3 years 8 months ago #125856 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
Hi uzbaby,
I do think resetting the Joomla core may solve the problem, there is no guarantee, however worth to try it.

The Joomla devs proposed a solution to do this process , however it will be available until Joomla 3.5.2.

Do you want to try this alternative approach to reset Joomla 3.5.1? If so, please make a backup with Akeeba and let me know when you're done to provide you more instructions.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125871 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
When my site was 3.5 and I upgradet it to 3.5.1 npthing changed with my issue. Do you think that if I reset to 3.5.1 again something will change?

If you sure about it it then lets reset it. I have backup already. I dont need akkeba. My hosting has my backups.

Please Log in to join the conversation.

3 years 8 months ago #125874 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Resetting the core files helps with a lot of these types of issues. It might not work for this issue, but it's worth a try nonetheless. If it doesn't work, we can check the database settings next.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125875 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Ok, then what shoul I do? Because I really dont know how to reset

Please Log in to join the conversation.

3 years 8 months ago #125879 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Ah, sorry! I thought Valentin posted the link already. Here's how to reset:
www.ostraining.com/blog/joomla/how-to-reset-joomla/

Note that at the end of step #3, you'll probably need to manually unzip it in your Joomla root using cPanel.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125915 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Oh...so strange...as i read your link info...i did it before i asked help from you. Ok...i will do it again.
Unfortunetaly my subscribe is going to fin8sh in some days...but i didn get any help. Just thing that are already are written in other forums.

I hoped that os is something another then just some forum.

I will let you know when i reset my site.

Please Log in to join the conversation.

3 years 8 months ago #125921 by Valentin
Replied by Valentin on topic Login problem after upgrating to J3.5
Hi uzbaby,
I'm sorry to hear you're still having this task unresolved. We will try our best to assist you!

I do think the reset will hopefully fix the issue, however note since Joomla 3.5 the reset is not as easy as before. From the tutorial Nick pointed, in step 3 you would need to follow the Pro tip:

If Joomla's installer isn't working, simply unzip the package (or FTPs the package's content) into the Joomla root.


Be sure to do a backup first.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125927 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi Uzbaby,

Just thing that are already are written in other forums.

I hoped that os is something another then just some forum.


Sorry, but that's not correct. First off, I've spent many hours working on this issue for you and, secondly, I'm not aware of any other forum that describes this same issue. I previously researched the issue to see if anyone else was experiencing the same exact issue and couldn't find any mentions. If you know of a forum that describes this same exact issue, please post the link so we can read through it and find a pattern.

As mentioned earlier, the issue is complicated and so that's why you haven't been able to find help elsewhere. We're happy to continue helping you and we understand your frustration about the issue not being resolved, but we ask for your understanding. If this were an easy fix, it would have been done by now. We don't promise to be all-knowing, so resolving complicated issues has the potential to take a significant amount of time, as you're seeing.

Remember that we're humans at the other side of the screen too :)

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125955 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Can you do it for me? Because now I'm afraid that I can do something wrong and my site will crash fully.

Please Log in to join the conversation.

3 years 8 months ago #125957 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
OK, I did the reset for you, but it didn't fix the issue. I'm checking the database settings now.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125958 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

It's (kind of) fixed now :)

I narrowed down the issue to the "Adds Suffix to URL" setting, which adds .html to the end of the URL. If that setting is disabled, the login works well.

I'm not sure why it's that way, but I'd recommend using your URLs without the suffix anyway. You can redirect the URLs with suffixes to the non-suffix versions using the following code in your .htaccess after the "RewriteEngine On":
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} \.html$
RewriteRule ^(.*)\.html$ /$1 [R,L]

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125959 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick...I'm almost crying. It looks like really works. Thank you. Now my site is Joomla 3.5.1 version right?
I really dont understand about .html problem. Do I need this html at the of the link? Because now via links in my main page FORUM I cant get forum because of that html. Should I must to make that re direction as you mentioned?

Please Log in to join the conversation.

3 years 8 months ago #125961 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Now my site has almost zero visitors because noone can go to my site via google, because all links there are with html

Please Log in to join the conversation.

3 years 8 months ago #125962 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
As I understand rewriting htaccess file helps with google search.
But can you explainplease what is url with .html and without .html? Why do we need that or another one! What is the difference for users or for SEO or for admin?

Please Log in to join the conversation.

3 years 8 months ago #125965 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

You're welcome! I'm glad we could help :) It was a difficult problem to figure out, but we got it in the end.

Yes, your site is on Joomla 3.5.1 now.

Yes, you should do the redirect as I mentioned. The redirect will also fix the issue with people finding your site via Google.

The .html suffix was used in the old days of the internet when many pages were static HTML pages. It's not needed in modern web design. There's no difference for SEO, users, or admins, except that the URL is shorter.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #125996 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick,
Thank you very much.
I added your code to .htaccess but there is something notclear for me.
As you can see in the attached img there is still html link at the end of my URL. This is only when I go to my site via search engine.

This image is hidden for guests.
Please log in or register to see it.



If I go to some article within my site then URL without html.

Also there is some problem with my images. Most of them doeasnt appear. some of them appear. ( www.uzbaby.uz/homiladorlik/homiladorlikda-analizlar-2 )

This image is hidden for guests.
Please log in or register to see it.



Please can you help?

Please Log in to join the conversation.

3 years 7 months ago #126011 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

Looks like you've added # before each line of code. That comments out the code and effectively disables it. You'd have to delete the # before each line.

As to the images, put a / at the beginning of the image source. So for example, instead of:
images/homilador/shifoxonada_sm.jpg

it should be:
/images/homilador/shifoxonada_sm.jpg

If you need more help with the images, please open a new discussion topic for them. That we can better help you and keep things more organized.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
The following user(s) said Thank You: uzbaby

Please Log in to join the conversation.

3 years 7 months ago #126115 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Hello Nick,
Thank you,
I did as you advised and remove all # from the code. Yes, html is gone. But my newuzbaby.com domain appeared in google. If I make some search both uzbaby.uz and newuzbaby.com appear in google. But before these changes there was only uzbaby.uz. I need only uzbaby.uz.

As for my images, your advise is impossible because I have more that 1000 images and I can't change their names. This also happaned after solving my this issue (we remove html from URL). How can make them appear without doing something manually, because its almost impossible for thousand images.

Please Log in to join the conversation.

3 years 7 months ago - 3 years 7 months ago #126126 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
You're welcome, uzbaby!
But my newuzbaby.com domain appeared in google. If I make some search both uzbaby.uz and newuzbaby.com appear in google. But before these changes there was only uzbaby.uz. I need only uzbaby.uz.
The way your original redirect appears to be set up is that only the home page, newuzbaby.com is redirecting to uzbaby.uz. But sub pages like newuzbaby.com/homiladorlik are not redirecting to uzbaby.uz/homiladorlik . This would have been occurring even previously to the issues you experienced (unless you changed some of the code since then).

Use the following after your "RewriteEngine on":
RewriteCond %{HTTP_HOST} ^newuzbaby.com [NC,OR]
RewriteCond %{HTTP_HOST} ^newuzbaby.com [NC]
RewriteRule ^(.*)$ http://uzbaby.uz/$1 [L,R=301,NC]

As to the images, you can use DB Replacer for a quick way to do them:
www.ostraining.com/blog/joomla/db-replacer/

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #126150 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Thank you very much.

as for images, you know something wrong with image links after solving my issue with login.
Look no appearing images look like this:

www.newuzbaby.com/forum/erkak-va-ayol-ka...menu/menu-bogcha.jpg
or

www.newuzbaby.com/forum/erkak-va-ayol-ka...s/menu/menu-hbol.jpg

This part:
/forum/erkak-va-ayol-kasalliklari/
is something strange.
Where it come from? It appears after solving my issue with login.
So you advise me to change all names mannualy or with third ext but maybe there is something wrong with system, why my images links changed their name?

Please Log in to join the conversation.

3 years 7 months ago #126151 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
Hi uzbaby,

It's probably because you were on this page:
www.newuzbaby.com/forum/erkak-va-ayol-kasalliklari/

If an image src uses a relative path, then it will attempt to look for it from the current URL. Since your new URL don't have a .html at the end, the browser doesn't know if the current URL is a folder or not. With the .html at the end, it would have known that it can't be relative to that URL, since it's not a folder.

Putting a / before the image makes the path relative to the root of the domain, rather than the current URL. That's why my suggestion at www.ostraining.com/support-forum/joomla-...ting-to-j3-5/#126011 should fix it.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 7 months ago #126152 by uzbaby
Replied by uzbaby on topic Login problem after upgrating to J3.5
Thank you very much Nick.

But there is missunderstanding.
today I add some image to module. It is in the forum page.

If I'm on the main Forum page ( www.uzbaby.uz/forum/suhbatlar ) I can see the image:

This image is hidden for guests.
Please log in or register to see it.



If I go to some category of the forum ( www.uzbaby.uz/forum/fotokonkurs/977-o-zb...i-bahorda-2016#68388 ) my image shows error

This image is hidden for guests.
Please log in or register to see it.



So why the same url doesn't work in different pages? Also I want to sayt that I add this image AFTER changing my urls to NO html link.

Please Log in to join the conversation.

3 years 7 months ago #126153 by Nick
Replied by Nick on topic Login problem after upgrating to J3.5
On my side, at www.uzbaby.uz/forum/suhbatlar , it can't find the image. It's generating a 404 error:
"NetworkError: 404 Not Found - http://www.uzbaby.uz/forum/images/Wild-Flowers-343x178816-735717.png"

Please try clearing your browser cache.

Afterward, as you can see the image is actually at:
www.uzbaby.uz/images/Wild-Flowers-343x178816-735717.png

And if you change this code:
<img width="251" height="130" style="line-height: 1.7em;" alt="Wild Flowers 343x178816 735717" src="images/Wild-Flowers-343x178816-735717.png">

to:
<img width="251" height="130" style="line-height: 1.7em;" alt="Wild Flowers 343x178816 735717" src="/images/Wild-Flowers-343x178816-735717.png">

it will work for you. Note that the only thing that changed is adding the / at the start of the img src.

Hope this helps!

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!