Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
SlashDot
New Member
New Member



Joined: Jan 08, 2005
Posts: 22
Location: Bangladesh

PostPosted: Mon Aug 29, 2005 7:56 am Reply with quote

helo sir. although i am not hosted by raven i wanted to get an experts option about this. So please help me out.
[ Only registered users can see links on this board! Get registered or login! ]

you can see that the left and right blocks and the story pages (center) are not being shown.
This has happened to every subdomain and accounts hosted by my VPS.

please refer to the following URL:
[ Only registered users can see links on this board! Get registered or login! ]

if you see the right and left blocks then it means that the coding for
the right and left blocks are contained in a filename.php file.

now please refer to another URL:
[ Only registered users can see links on this board! Get registered or login! ]

you do not see any left and right blocks. This is because the codes for
the right and left blocks are within a filename.htm file.


on the other hand any simple html files are shown: [ Only registered users can see links on this board! Get registered or login! ]

Now does anyone have any idea what might cause this?
any module og php? mysql? something?
 
View user's profile Send private message Visit poster's website
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Mon Aug 29, 2005 1:24 pm Reply with quote

I don't see where the problem is.

You said it yourself. You are calling a .php page, but the alteration codes are in a .html file. It can't identify a layout definition if it doesn't see it, so thus those definitions must be defined inside the Nuke (.php) scope.

Your nuke module pages define the layout. If you are using GoogleTap, you also need to consider that there is modified code to support blocks layout inside the mainfile.php.

I've seen some new GoogleTap type code floating around, but my personal opinion is that it is a step backwards in GoogleTap evolution. It is very primitive and requires more overhead to run due to the way it is integrated with nuke.

If you are going to run GoogleTap, stick to GT NextGen or NukeCops versions.

Also, remember that if you run in a sub-domin and have GT enabled in the root, you are probably going to inherit root file definitions if you aren't careful. This can be very tricky to setup, so I usually recommend that people don't use GT in a sub-domain if they have it in their root. If you have a lot of sub-domains, this is the ONLY situation where I recommend that your primary site be run out of a sub-directory so that the root file .htaccess doesn't interfere with the sub-domains as your primary domain .htaccess file would actually exist in a sub-directory and NOT in the physical root of your domain.

Hope this helps.
Steph

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
SlashDot







PostPosted: Mon Aug 29, 2005 8:36 pm Reply with quote

helo sir. Thank you for the response.

GTap? i realy must say otherwise. y?

1. y did this issue appear all over the servers at once out of the blue?
2. y didnt it happen before?

i have created a new domain hosting under my VPS and installed nuke in that too. Which yielded the same result.
The right and left blocks dont show.
it is a server wide issue which has to be something on the hostings side.

no one has a clue what.
do you sir?
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Aug 30, 2005 1:58 am Reply with quote

If I'm understanding the issue correctly, you have php code in a .html file that you want the php processor to see. If this is correct, then you need to tell Apache to process .html files through the php processor. You would do that through adding the file type to an Apache directive like this
Code:
AddType application/x-httpd-php .phtml .php .php3 .htm .html .php4

If that's not the problem then please excuse this rambling Wink
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©