1
dunrovin
partially missing front page
  • 2009/3/27 22:03

  • dunrovin

  • Just popping in

  • Posts: 9

  • Since: 2009/3/27


Hi,
I have been able to get this site working to a point where I partially have a front page on the outside but everything works fin locally.
if you have a look at http://www.smashpro.com.au/xoops you will see partial graphics then text.
if I do that on the server itself i get the whole page.
I know it will be a localhost setting somewhere but I can't find it.

Can anyone advise.

Dave

2
ghia
Re: partially missing front page
  • 2009/3/28 1:02

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have several references to http://localhost/ in the URL's of your site (theme.html ?). Replace them with the domain name or with a relative reference to the webroot (eg /xoops/path/to/file.php)

3
dunrovin
Re: partially missing front page
  • 2009/3/28 1:40

  • dunrovin

  • Just popping in

  • Posts: 9

  • Since: 2009/3/27


Yes, I am aware I have paths to localhost thanks.

The problem I have is I do not know which file it is coming from. I have been through the obvious config.php file and nothing. can you advise what file I should look in please

dAve

4
nmshah
Re: partially missing front page
  • 2009/3/28 9:21

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


You need to look into your theme files. Since you seem to be using zetagenesis look into the theme.html and the various templates of this theme. Locate the http://localhost/ and replace it with either your web url or the smarty variable for your XOOPS site url

5
dunrovin
Re: partially missing front page
  • 2009/3/28 13:00

  • dunrovin

  • Just popping in

  • Posts: 9

  • Since: 2009/3/27


I have been through all theme files for both themes and there is no sign of lcoalhost anywhere.
Why would a standard installation be pointing to localhost. shouldnt this be a setting of the config.php as to where it gets its data from.

Please advise

6
Mamba
Re: partially missing front page
  • 2009/3/30 5:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Something is wrong, otherwise it would work. Run the checksum.php to see if any of the files are corrupted.

If this doesn't work (i.e. all files are OK), you can send me PM with your login/password to your Website and FTP and I'll take a look.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
dunrovin
Re: partially missing front page
  • 2009/3/30 10:28

  • dunrovin

  • Just popping in

  • Posts: 9

  • Since: 2009/3/27


Hi. sure there is a lot wrong. Here is the checksum printout

./mainfile.dist.php content invalid
./Frameworks/readme.txt content invalid
./Frameworks/art/functions.admin.php content invalid
./Frameworks/art/functions.cache.php content invalid
./Frameworks/art/functions.config.php content invalid
./Frameworks/art/functions.ini.php content invalid
./Frameworks/art/functions.locale.php content invalid
./Frameworks/art/functions.php content invalid
./Frameworks/art/functions.user.php content invalid
./Frameworks/art/object.php content invalid
./Frameworks/art/xoops_version.php content invalid
./Frameworks/textsanitizer/module.textsanitizer.php content invalid
./class/xoopseditor/readme.txt content invalid
./class/xoopseditor/sampleform.inc.php content invalid
./class/xoopseditor/xoopseditor.inc.php content invalid
./class/xoopseditor/xoopseditor.php content invalid
./class/xoopseditor/dhtmltextarea/dhtmltextarea.php content invalid
./class/xoopseditor/dhtmltextarea/editor_registry.php content invalid
./class/xoopseditor/dhtmltextarea/language/english.php content invalid
./class/xoopseditor/dhtmltextarea/language/schinese.php content invalid
./class/xoopseditor/dhtmltextarea/language/schinese_utf8.php content invalid
./class/xoopseditor/fckeditor/editor_registry.php content invalid
./class/xoopseditor/fckeditor/fckconfig-xoops.js content invalid
./class/xoopseditor/fckeditor/formfckeditor.php content invalid
./class/xoopseditor/fckeditor/language/english.php content invalid
./class/xoopseditor/fckeditor/language/schinese.php content invalid
./class/xoopseditor/fckeditor/language/schinese_utf8.php content invalid
./class/xoopseditor/fckeditor/module/fckeditor.config.js content invalid
./class/xoopseditor/fckeditor/module/fckeditor.connector.php content invalid
./class/xoopseditor/fckeditor/module/fckeditor.upload.php content invalid
./class/xoopseditor/fckeditor/module/readme.txt content invalid
./class/xoopseditor/koivi/editor_registry.php content invalid
./class/xoopseditor/koivi/language/english.php content invalid
./class/xoopseditor/koivi/language/schinese.php content invalid
./class/xoopseditor/koivi/language/schinese_utf8.php content invalid
./class/xoopseditor/koivi/language/spanish.php content invalid
./class/xoopseditor/textarea/editor_registry.php content invalid
./class/xoopseditor/textarea/textarea.php content invalid
./class/xoopseditor/textarea/language/english.php content invalid
./class/xoopseditor/textarea/language/schinese.php content invalid
./class/xoopseditor/textarea/language/schinese_utf8.php content invalid
./class/xoopseditor/tinymce/editor_registry.php content invalid
./class/xoopseditor/tinymce/formtinymce.php content invalid
./class/xoopseditor/tinymce/tinymce.php content invalid
./class/xoopseditor/tinymce/language/english.php content invalid
./class/xoopseditor/tinymce/language/schinese.php content invalid
./class/xoopseditor/tinymce/language/schinese_utf8.php content invalid
./include/common.php content invalid
./install/index.php missing !
./install/page_configsave.php missing !
./install/page_configsite.php missing !
./install/page_dbconnection.php missing !
./install/page_dbsettings.php missing !
./install/page_end.php missing !
./install/page_langselect.php missing !
./install/page_modcheck.php missing !
./install/page_moduleinstaller.php missing !
./install/page_pathsettings.php missing !
./install/page_siteinit.php missing !
./install/page_start.php missing !
./install/page_tablescreate.php missing !
./install/page_tablesfill.php missing !
./install/page_theme.php missing !
./install/style.css missing !
./install/class/dbmanager.php missing !
./install/class/index.html missing !
./install/class/installwizard.php missing !
./install/class/pathcontroller.php missing !
./install/img/background.png missing !
./install/img/banner_bg.png missing !
./install/img/bg-globalnav.png missing !
./install/img/bullet-current.png missing !
./install/img/bullet-disabled.png missing !
./install/img/bullet.png missing !
./install/img/document.png missing !
./install/img/ffffff-25.png missing !
./install/img/ffffff-75.png missing !
./install/img/folder.png missing !
./install/img/form-input.png missing !
./install/img/help.png missing !
./install/img/index.html missing !
./install/img/logo.png missing !
./install/img/no.png missing !
./install/img/no_big.png missing !
./install/img/shadow.png missing !
./install/img/table-caption-grey.png missing !
./install/img/title-after.png missing !
./install/img/title-before.png missing !
./install/img/title-bl.png missing !
./install/img/title-br.png missing !
./install/img/title-inner.png missing !
./install/img/title-tl.png missing !
./install/img/title-tr.png missing !
./install/img/title.png missing !
./install/img/warning.png missing !
./install/img/wizard_bg.png missing !
./install/img/xoops_2.3.3.png missing !
./install/img/yes.png missing !
./install/img/yes_big.png missing !
./install/include/common.inc.php missing !
./install/include/config.php missing !
./install/include/createconfigform.php missing !
./install/include/functions.php missing !
./install/include/index.html missing !
./install/include/install_tpl.php missing !
./install/include/makedata.php missing !
./install/include/modulesadmin.php missing !
./install/include/page.php missing !
./install/js/index.html missing !
./install/js/prototype-1.6.0.3.js missing !
./install/js/xo-installer.js missing !
./install/language/index.html missing !
./install/language/english/finish.php missing !
./install/language/english/index.html missing !
./install/language/english/install.php missing !
./install/language/english/install2.php missing !
./install/language/english/mysql.lang.data.sql missing !
./install/language/english/style.css missing !
./install/language/english/support.php missing !
./install/language/english/support.png missing !
./install/language/english/welcome.php missing !
./install/sql/index.html missing !
./install/sql/mysql.data.sql missing !
./install/sql/mysql.structure.sql missing !
./xoops_data/caches/smarty_cache/index.html missing !
There are 3295 files checked.
Please remove the file ./checksum.md5 and checksum.php as soon as possible.


8
ghia
Re: partially missing front page
  • 2009/3/30 10:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try with reuploading the files. It might be needed to redownload the archive from Sourceforge, because some mirrors may have ended the download prematurely, with missing files as a consequence.

9
Mamba
Re: partially missing front page
  • 2009/3/30 12:03

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
I have been through all theme files for both themes and there is no sign of lcoalhost anywhere.

If you look at the sourcecode of the displayed page:

view-source:http://www.smashpro.com.au/xoops/

you can see that the "localhost" is being inserted as part of these lines:

<link rel="alternate" type="application/rss+xml" title="THEME_RSS" href="http://localhost/xoops/backend.php" /> 
 
<
link rel="shortcut icon" type="image/ico" href="http://localhost/xoops/themes/zetagenesis/icons/favicon.ico" /> 
<
link rel="icon" type="image/png" href="http://localhost/xoops/themes/zetagenesis/icons/icon.png" /> 
 
<
link rel="stylesheet" type="text/css" media="screen" href="http://localhost/xoops/xoops.css" /> 
<
link rel="stylesheet" type="text/css" media="all" href="http://localhost/xoops/themes/zetagenesis/css/layout-soup.css" /> 
<
link rel="stylesheet" type="text/css" media="all" title="Color" href="http://localhost/xoops/themes/zetagenesis/css/style.css" />


Using a tool like InfoRapid Search (http://inforapid.com/html/searchreplace.htm), you can find very quickly that

<link rel="alternate" type="application/rss+xml"


is coming from the file /Themes/zetagenesis/Xotpl/xometas.html:

<link rel="alternate" type="application/rss+xml" title="<{$smarty.const.THEME_RSS}>" href="<{xoAppUrl backend.php}>" />


So it's clear that the "http://localhost/xoops/" is being inserted as a value of "xoAppUrl".

Now you have to find out where is the value coming from. It could be from some file (like mainfile.php), or could be coming from your database.

I don't have the time to look for it, but just wanted to show you the way you can investigate what is going on...

Hopefully re-uploading the files will fix it...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

409 user(s) are online (277 user(s) are browsing Support Forums)


Members: 0


Guests: 409


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits