Page 1 of 2

phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Wed Feb 06, 2013 10:37 am
by 794977
Hi,

I have setup phpMyFAQ 2.8.0-beta3 on a windows 7 pc, when you access site using localhost from a browser, all works extremely well... - However, If i connect to the PC from another pc on the Intranet, the display formating disappears ie all menus text appear down the left hand page of the browser.
If I press F12 on browser and look at CSS tab - It says 'This stylesheet cannot be viewed because its source is in a different domain than the page'

I am running phpMyFAQ 2.7.9 on the same windows 7 PC without any problems - ie remote pc's can connect and get the content displayed correctly.


System Information
phpMyFAQ Version
2.8.0-beta3
Server Software
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
PHP Version
5.4.7
DB Server
mysqli
DB Client Version
mysqlnd 5.0.10 - 20111026 - $Id: b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
DB Server Version
5.5.27
Webserver Interface
APACHE2HANDLER
PHP Extensions
Core, bcmath, calendar, ctype, date, ereg, filter, ftp, hash, iconv, json, mcrypt, SPL, odbc, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, wddx, xml, xmlreader, xmlwriter, apache2handler, Phar, curl, mbstring, exif, gd, gettext, mysql, mysqli, pdo_mysql, pdo_sqlite, soap, sockets, sqlite3, xmlrpc, xsl, mhash

Thank you
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Wed Feb 06, 2013 7:15 pm
by Thorsten
HI,

which browser do you use?

bye
Thorsten

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Wed Feb 06, 2013 7:16 pm
by jason102178
Has been forwarded to lead developer to see if can reproduce.

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 8:58 am
by 794977
Hi,

Thanks for your reply's - I am using IE9 on both boxes, I have also tried with Chrome and Firefox - The web pages will always display correctly on the pc that I am hosting site on
eg http://localhost/faqbeta, however, If I connect by another PC on our Intranet eg http://lonw00067949/faqbeta(local host) - I can connect to the site, but all the formatting is lost
ie - all text appears down left hand side of page (This does not happen with phpMYFAQ 2.7.9 - using the same two test PC's)

Please see attachments

Thanks,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 9:01 am
by 794977
Hi,
Here is an attachment that works on the http://localhost/faqbeta
Cheers,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 9:03 am
by Thorsten
Hi,

please check your main configuration and look which host is used for "URL for link verification", please don't use the localhost one

bye
Thorsten

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 10:20 am
by 794977
Hi Thorsten,
Sorry I am a Newbie :roll: Where abouts should I check?
Thanks,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 2:48 pm
by 794977
Hi,
If i change main.referenceURL in index.php to my server name then the page displays correctly .....
$systemUri = $faqConfig->get('lonw00067949') . '/'; in index.php
The links work, but I am unable to login as admin and also pictures are not displayed in my faq's (when i click on 'x' it still trying to coonect to localhost)
Is there a global variable somewhere that I can change to point all refs to my server?
Thanks,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 3:01 pm
by Thorsten
Hi,

you don't need to change the code! Log into the admin section, go to configuration, main configuration and change the URL.

bye
Thorsten

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:06 pm
by 794977
Hi
Thanks Thorstan, Site and links work correctly now I have changed main configuration ,
However, images are showing as a red x on page and if I view the source, once again they are being referenced by 'localhost'
Any ideas?
Cheers,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:09 pm
by Thorsten
Hi,

which images?

bye
Thorsten

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:12 pm
by 794977
Hi,
I created a FAQ document and uploaded .jpg files with descriptions, the pictures show fine on the pc hosting site, however If another pc access's host
they get the text in the faq with images missing!
Thanks,
Kevin

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:15 pm
by Thorsten
Hi,

what path do you see for this image?

bye
Thorsten

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:40 pm
by 794977

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Posted: Thu Feb 07, 2013 4:43 pm
by Thorsten
Hi,

.bmp won't work in most browsers. Use PNG, JPEG or GIF.

bye
Thorsten