Topic-icon Error during login/register

Active Subscriptions:

None
12 years 3 months ago #41839 by artcze
Hi there again. I checked from a separate account how the login or registration goes, and I got following error:


Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "/warsaw/templates/sj_financial/layouts/.xml" in /warsaw/plugins/system/yt/includes/site/lib/yt_renderxml.php on line 39
structure or name of file: .xml is not exactly

What does that mean, I assume it has to do something with my template, which is SJ Financial from Smartaddons, but I have no idea how to fix it.

Thanks in advance for your reply,

Artur
The topic has been locked.
Support Specialist
12 years 3 months ago #41846 by alzander
That message above is a PHP warning message, and not an error. An error stops all processing and nothing further can happen. A warning is something that *may* be wrong, but isn't critical. The page should still load and work.. though with that ugly message.

The message is coming from your template, but I'm not sure why. You'd need to contact them for more information about what it means, and how to fix it.

In the meantime, you can set the "Error Reporting" option in the Joomla Global Configuration area to "None" and that should hide that message from displaying.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41860 by artcze
Replied by artcze on topic Error during login/register
I did what you suggested, and now the message is just this :

structure or name of file: .xml is not exactly

and it stops there, nothing more happens.

I'll contact the template provider, however they have rather poor support, so if you could investigate further I would be grateful. If you need, I can send you all the files from the template to check.


Thanks
The topic has been locked.
Support Specialist
12 years 3 months ago #41866 by alzander
Ahh.. I didn't realize those were 2 separate messages. The Error Reporting setting is (properly) hiding the first PHP warning. Something else (the template or Joomla itself) is generating the 2nd message about the XML file.

As for that message, I'm really not sure. However, a quick search of Google for "joomla structure or name of file: .xml is not exactly" brings up the following, which may be helpful:
www.smartaddons.com/forum/81-yt-news/535...?limit=6&start=6#578
Specifically:

Please go to Administrator -> Extenstions -> Template Manager -> Edit yt News template, here please check a layout for your site
Hope this helps

They mention "News" template, but I'm assuming it'd be true for your template as well. It sounds like your template may not have the Layout/Style set for your template.

I hope the above, or that thread in general (which has other suggestions) helps!

Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41869 by artcze
Replied by artcze on topic Error during login/register
Hello again Alexander,

I was at that thread earlier, as the same error was popping when I was trying to set a cron job for email notifications. That specific answer from this thread which you suggested, didn't help, as layout was chosen.

However, after doing more search, I found a suggestion to change this in a file named frame_inc.php. And voila, the error disappeared, except that when I try to register, the window which should notify me about Facebook application getting following data, etc, disappears and nothing further happens. The browser goes back to main page and there is no new user added.

What's interesting, earlier it was different, the window stayed open, the problem was the error. Now, it varies - sometimes, for some test-accounts on Facebook, the window stays open, but after confirming that I want to give my data, window disappears and nothing happens.


Thanks again,

Artur
The topic has been locked.
Support Specialist
12 years 3 months ago #41914 by alzander
Once a user has given permission to access their profile data, that question won't be asked anymore. My guess is that you're testing with the same account, in which case not seeing that permission box is correct.

You can go to the Settings -> Apps area in Facebook and remove your application from your user's Facebook profile. Once you do that, the user will have to approve the Application the next time they try to login using Facebook on your site.

If nothing happens after the authentication popup closes, it likely means there's a Javascript issue on the page with the redirection. The first thing I'd recommend is enabling the "Include jQuery / Bootstrap" setting in the JFBConnect -> Configuration area and testing again. If that doesn't work, just let us know and we'll help debug further.

Thanks,
Alex
The topic has been locked.