phpMyFAQ 2.8.0-beta3 - pages not displaying properly

All about webserver configurations, PHP and databases.

Moderator: Thorsten

794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten »

HI,

which browser do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by jason102178 »

Has been forwarded to lead developer to see if can reproduce.
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
You do not have the required permissions to view the files attached to this post.
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by 794977 »

Hi,
Here is an attachment that works on the http://localhost/faqbeta
Cheers,
Kevin
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by 794977 »

Hi Thorsten,
Sorry I am a Newbie :roll: Where abouts should I check?
Thanks,
Kevin
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten »

Hi,

which images?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post 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
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten »

Hi,

what path do you see for this image?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
794977
Posts: 22
Joined: Mon Feb 04, 2013 3:06 pm

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by 794977 »

Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply