I am managing a Drupal site that was built for my client and everything was fine till last week when I ran in to this issue.

The client wanted a NEW button added, and not published for later use. I noted the node number for them to use for a link to be marketed. Let's say the path was special-products/275

Now they want to activate the button with a page attached to it. So I created a page with information, but the node number was different from the 275. I figured adding the above path to the URL path settings area on the page edit would work. When I saved the page, it disappeared from my content list page.

So created a new one with the same settings and included the path on the URL path settings area as before, but now it says the path is in use... guess for the old page I created.

However I cannot find this page anywhere... just disappeared. Don;t know what happened to it.

As a solution I cannot create a new menu button with a page a new node number as the path is already sent to marketing promote for people to access... So I am stuck.

Hope one of you smart people out there can help me, as I have no idea how to do this, and no access to the programmer who set up the site. Any help to either retrieve this page, or a work around to solve the issue (keeping the same path) would be a life saver.

Thanks in advance.

Raji

Comments

boban_dj’s picture

Hi, do you mean with new button, a menu link.
And the page you made is a content type?

You could clear the cache first, goto : admin/config/development/performance
then clear all caches

then goto: admin/content
can you see your page?

Also with the Pathauto module you could edit your node-id to any alias you like
also if you are stuck with a certain url your could do a rewrite rule in .htaccess for the certain rule.
make sure the mod_rewrite is enabled on the server.

Sorry maybe this sounds not so clear, but if you give more info about the drupal way you organized, maybe I can help better.

goodluck!

Boban_dj

graphiti’s picture

Thanks for the reply... I tried clearing the Cache... but didn't see the page yet.

I will try to explain a bit more... I am not the programmer, but the Admin who manages the site for the past 3 years without any issues. I also wonder if the Drupal installed is updated. I have no idea what version it is.

I have taken a few screen shots for you to show the issue and below is the link to download it from my drop box.

https://www.dropbox.com/s/ou3n3yx816ecy86/Drupal_Issue.zip

The first one shows the front end of the page the area where the product button was created. I have also circled to show you how the URL path shows on top when selecting this button. It's on a category called Special_Products, which is what I selected to create the page. This is not the exact path I want but a sample one to show you how it shows up.

The next shows the CMS of the Drupal page where I have created a new page, and circled below where I tried to include the path I want to connect to that button. Right now as you can see when I try to insert a path it says the path already exists (this is the original page that I cannot find anymore)

Final image shows the Drupal Menu area where I have enabled the button and the path it shows...

I can create a NEW menu button, but I will lose the /275 path I have already sent to the marketing people. And I cannot find the page I created for this to connect to the button. This all started when I inserted the path to the URL Path settings area of the page... It says not to add a trailing slash at the end or it will not work... I wonder if I added something like that for the page to disappear.

Hope all this makes sense, and thanks again for your help.

John_B’s picture

First understand the difference between the machine path and the path you create (in my last post, below).

Then open the database in a GUI tool like Phpmyadmin and search for the path which is causing problems. Find the problem item(s) using the path which is not showing and delete it. If you do that or hire someone to do it, the safest way is to do so on a development copy of the site first. I do these things live sometimes but it is more professional to test everything if the site is mission-critical.

If you are not inclined to do that, make an item with a new path, and add a redirect to the path you already sent out. You could use the Redirect module. For a simple case like this I would be inclined to add a redirect to .htaccess. There are loads of tutorials on the Net e.g. http://www.htaccessredirect.co.uk/.

Note that when updating Drupal core your .httaccess may be overwritten, so keep a copy of your modified one (between your version of Drupal 6 and the current version, 6.33, there are some rather important security updates needed to reduce risk of hacking).

graphiti’s picture

Hi John_B,

Just wanted to update that I got the problem fixed. I was going through the CMS and noticed a Admin/Build/Path/List url where this special-product category was listed as an Alias. I also got connected with the programmer who originally built the site and he acknowledged that he had to create a special category with that name.

So he was able to change the node of that alias and connect my new page to the button, without any issues and still keeping the URL path I gave to the marketing people. (phew!)

I also found out that the original reason I couldn't find the page was for this weird reason. For some reason when I am logged in with my account (not the admin account) and create a special-product page and then publish, it shows the author's name and date... sort of like a blog post. This only happened on this category called special-product the programmer cerated. What I did was try to delete that information on the page content, in the Authoring information box, which I noticed was adding it. While it says to leave it empty if you do not want any author showing, the moment I delete and save the page, the page it self get's deleted... very wierd.

Finally my programmer was able to change the setting on my user account similar to admin priviledge, so that no author details get posted. Problem figured out and solved.

Finally I talked to the hosting people about upgrading the Drupal, but they as you guys said was reluctant to do so because the whole site which is Manipulated by a programmer could get effected and change. So for now I am leaving it as is, because there is a chance the client may change the whole site within the next few months.

Anyway I want to than you for your help and also keep you guys updated!

Cheers!

Raji

John_B’s picture

EDIT my answer is different than that of Boban_dj - it is hard to know exactly what the problem is because the question is difficult to follow. Not sure which will be the most helpful.

node/123 (for example) is the machine path. Each node gets a new node number which is incremented by one (so if the last node created was node/123, the next one will be node/124). Each node can, optionally, have a more meaningful URL added under URL path settings. Do not attempt to name a piece of content with a node number, as this node number which appears in the URL is assigned automatically.

You can get some good video training courses from buildamodule.com and drupalize.me to supplement the documentation on this site (where you can learn all this stuff also - hit the documentation link at the top of this page). All of us who work with Drupal professionally spend a lot of time and money developing our skills before doing so. It is a lot of work - but also very worthwhile both in enjoyment and in getting paid work. Drupal is complex so until you do that you are going to run into a lot of issues!

graphiti’s picture

Thanks for the reply and I do understand how the node system works. When I created the Menu Button it also gave me a path on the CMS end. I can still see this path setting on the Administer » Site building » Menus area. I created this button and then disabled it till the product was ready for me to create a page for it.

I created the page, which obviously gives me a different node number, therefore I was trying to connect the page to the button I enabled by adding the path shown on the Menu button to the URL path settings... It's only then the page disappeared. Now when I activate the button, and click it on the front end, it says page cannot be found. I also cannot find the page I created listed on the content list.

Hope this makes sense to you. I took some screen shots and you can look at it from my drop box link:

https://www.dropbox.com/s/ou3n3yx816ecy86/Drupal_Issue.zip

Thanks again for your help.

boban_dj’s picture

Hi, graphiti,
Is your menu entry Grace coconut Products holding more content?
If not try to delete the menu entry, clear the cache and then make a new menu link (or button as you say)
then try to link the content with the url you need: special-product/275

or try as John_B said:
open the database in a GUI tool like Phpmyadmin and search for the path which is causing problems. Find the problem item(s) using the path which is not showing and delete it

as a side note: You can also suggest to your client to upgrade to Drupal 7.

goodluck

Boban_dj

John_B’s picture

Yes update to latest version of 6, or even to Drupal 7 - though not before reading this thread https://www.drupal.org/node/2262143, which sets out the pain many encounter in a D7 upgrade. Drupal 8 should be available probably early in 2015, with no upgrade path from D6 or 7 but a direct migration path from D6.

graphiti’s picture

Hi boban_dj,

Just wanted to update that I got the problem fixed. I was going through the CMS and noticed a Admin/Build/Path/List url where this special-product category was listed as an Alias. I also got connected with the programmer who originally built the site and he acknowledged that he had to create a special category with that name.

So he was able to change the node of that alias and connect my new page to the button, without any issues and still keeping the URL path I gave to the marketing people. (phew!)

I also found out that the original reason I couldn't find the page was for this weird reason. For some reason when I am logged in with my account (not the admin account) and create a special-product page and then publish, it shows the author's name and date... sort of like a blog post. This only happened on this category called special-product the programmer created. What I did was try to delete that information on the page content, in the Authoring information box, which I noticed was adding it. While it says to leave it empty if you do not want any author showing, the moment I delete and save the page, the page it self get's deleted... very weird.

Finally my programmer was able to change the setting on my user account similar to admin priviledge, so that no author details get posted. Problem figured out and solved.

Finally I talked to the hosting people about upgrading the Drupal, but they as you guys said was reluctant to do so because the whole site which is Manipulated by a programmer could get effected and change. So for now I am leaving it as is, because there is a chance the client may change the whole site within the next few months.

Anyway I want to than you for your help and also keep you guys updated!

Cheers!

Raji

boban_dj’s picture

Hi,
Thank you for the feedback, raji
goodluck

Boban_dj

WorldFallz’s picture

Please don't post duplicate threads, dupe deleted. Thanks.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.