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 » Wed Feb 06, 2013 10:37 am

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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Wed Feb 06, 2013 7:15 pm

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 » Wed Feb 06, 2013 7:16 pm

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 » Thu Feb 07, 2013 8:58 am

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 » Thu Feb 07, 2013 9:01 am

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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Thu Feb 07, 2013 9:03 am

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 » Thu Feb 07, 2013 10:20 am

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 » Thu Feb 07, 2013 2:48 pm

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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Thu Feb 07, 2013 3:01 pm

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 » Thu Feb 07, 2013 4:06 pm

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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Thu Feb 07, 2013 4:09 pm

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 » Thu Feb 07, 2013 4:12 pm

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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Thu Feb 07, 2013 4:15 pm

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 » Thu Feb 07, 2013 4:40 pm


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

Re: phpMyFAQ 2.8.0-beta3 - pages not displaying properly

Post by Thorsten » Thu Feb 07, 2013 4:43 pm

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