Page 1 of 1

Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 09:22
by localhost
Hello all,

My current website using wordpress resides here: http://www.larryanda.com/photography/ (redirected from www.larryanda.com)
My X3 beta installation resides here: http://www.larryanda.com/x3/

As I was ready to make it available for my viewers I decided I will use the same original link so I proceeded of renaming the /photography to x2. I then renamed the /x3 folder as /photography. Now the whole X3 install is not working.

It doesn't load properly anymore:
Image

Right-clicking on the page:
Image

Y is missing from the photography

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 09:27
by mjau-mjau
I believe I have your FTP by pm, and I will be checking your server later tonight ... Basically I first need to get the diagnostics folder working http://larryanda.com/photography/diag/, so I can understand whats going on ...

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 09:30
by localhost
Oh yes, I send it to you... I just thought it's not sending through as it is remains in my outbox. Thanks Karl

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 09:40
by localhost
By the way Karl,

This redirects appeared on my CPANEL from my hosting company.

Image

I cannot remove it. Cpanel will say it has been removed successfully but when I get back to redirection page it is there again. I believe it has something to do with your .htaccess file? I have managed to delete it after renaming temporarily the .htaccess to something else.

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 09:50
by mjau-mjau
I am not sure why you are trying to remove rules from the x3 htaccess file ... unless you are just trying to experiment to see if it fixes anything? Many of the rules are there to make the application work properly, or for improved security. I may need to fix some issues in htaccess, but I don't think you should be removing them at random will ...

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 10:02
by localhost
No, Karl... I am not removing any rules from the .htaccess file. I simply RENAME it temporarily to see if I can delete the 2 random redirection that appears on my web hosting Redirect page.

I am just confirming from you if it might have been cause by the rules on the x3 .htaccess.
And yes, I am experimenting if I can fix the discrepancy on the link between the /photography and /photograph that is appearing on the source code.

Thanks

Re: Renaming the X3 folder causes failure

Posted: 21 Nov 2014, 10:16
by mjau-mjau
Well, that 2nd rule in yellow is definitely from Imagevue, because it is set to block access to the *.yml page setting files, and redirect to 404 ... The first one, I also assume is from Imagevue, and on your server they seem to be causing issues somehow ... I will be looking into shortly ...

Re: Renaming the X3 folder causes failure

Posted: 23 Nov 2014, 00:37
by localhost
Thanks Karl... would be interested to know what's causing it.

I would like to use the /photography as my live website instead of the /x3 however even deleting the whole folder and uploading a new one doesn't solve the issue. Really curious.

Re: Renaming the X3 folder causes failure

Posted: 23 Nov 2014, 00:51
by mjau-mjau
localhost wrote:Thanks Karl... would be interested to know what's causing it.
This is a bug in X3 with trim() function that is used in the code to compute the root-relative absolute path in various links used globally ... For some unknown reason, it is failing under a few circumstances. This issue was prevalent for at least one other users also ...

Thanks to some diagnosing on your website through the diagnostics pages ...
http://larryanda.com/x3/services/diagnostics/
http://larryanda.com/photography/services/diagnostics/
... I managed to figure out better methods. I already have a fix for this pending for an update which should solve a lot of issues with both paths and mod_rewrite ... hope to have it out tomorrow!

Re: Renaming the X3 folder causes failure

Posted: 28 Nov 2014, 16:36
by localhost
Just advising to anyone who got the same problem. It is now solved on the Beta 0.5 version. Thanks heaps Karl