vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2007, 07:22 PM
The Librarian The Librarian is offline
Junior Member
 
Join Date: Dec 2006
Posts: 23
Default Help with file path on custom php page

I created a custom php page:

http://www.thehomeschoollibrary.com/...?page=shopping

And, according to the Edit Page: Shopping the file path is this:

/home/**edited**/public_html/shopping/index.php

But, there's incorrect info on the Edit Page. The homepage link points to: http://thehomeschoollibrary.com/index.php?page=home which should just be http://www.thehomeschoollibrary.com
and the forum page says http://thehomeschoollibrary.com/forum and should be http://www.thehomeschoollibrary.com/forum

Everything gets you to the right place, but it's a problem for some of my members because they get logged out, or think they get logged out, when they navigate the site sometimes.

SO, what I'd like to do is edit the shopping page to fix the links. BUT, when I try I get this message: (EVEN IF I DO NOTHING to the page)

Quote:
The path you have specified for your PHP File path is not a valid file on your server. Please go back and enter the full path (NOT the URL) to this file.
I'd really like to save the page as just plain http://www.thehomeschoollibrary.com/shopping but I have no clue how to do that. How can I download the page so I can upload it to the proper place?

Before you ask, NO, I didn't upload anything from my computer to create this page originally. I did it all in the vBadv CMPS.

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 01-28-2007, 12:47 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Help with file path on custom php page

If you're not using a PHP file with that page, just use the "Change Page Type" option at the top when you edit that page to change it to a module page instead.
As for the links with the missing 'www.', that's controlled by your CMPS URL setting under your main CMPS options.
Reply With Quote
  #3  
Old 01-29-2007, 01:02 PM
The Librarian The Librarian is offline
Junior Member
 
Join Date: Dec 2006
Posts: 23
Default Re: Help with file path on custom php page

Quote:
Originally Posted by Brian View Post
If you're not using a PHP file with that page, just use the "Change Page Type" option at the top when you edit that page to change it to a module page instead.
As for the links with the missing 'www.', that's controlled by your CMPS URL setting under your main CMPS options.
Ok. Fixed both of those. Thanks!

Now... is there any way to change if from page=shopping to just /shopping ?

Last edited by The Librarian; 01-29-2007 at 01:11 PM.
Reply With Quote
  #4  
Old 01-29-2007, 01:07 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Help with file path on custom php page

If you're familiar with .htaccess files then you could possibly create one of those to redirect people from /shopping to index.php?page=shopping.
Reply With Quote
  #5  
Old 01-29-2007, 01:27 PM
The Librarian The Librarian is offline
Junior Member
 
Join Date: Dec 2006
Posts: 23
Default Re: Help with file path on custom php page

Quote:
Originally Posted by Brian View Post
If you're familiar with .htaccess files then you could possibly create one of those to redirect people from /shopping to index.php?page=shopping.

DUH... totally didn't think of redirect.

I'm not at all familiar with .htaccess... nor am I familiar with htlm or css or anything for that matter... but I've fumbled my way through so far.

The redirect is easly handled through my cpanel at my host so I'll do it that way.

Thanks, Brian! I really appreciate your prompt replies to my questions. The people at vb.org need to learn something from you!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP File Pages: PHP File Path not valid - A Simple Solution maybe blkatt Troubleshooting & Problems 2 09-14-2007 07:09 PM
Full path to file? Illustrious Troubleshooting & Problems 7 10-18-2006 02:35 PM
Path to Custom Page is not valid error when it is valid! naeemakhtar Site Feedback & Updates 4 06-29-2006 06:25 PM
Bad File Path dialupdaemon Troubleshooting & Problems 2 10-28-2005 03:40 PM
Is it possible to include a whole subdirectory/.php file as a custom page? tarzanna Troubleshooting / "How do I..." Questions 1 01-17-2005 12:21 AM


All times are GMT -4. The time now is 05:51 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.