Page 1 of 1

moving .php files and the page designs.....

Posted: Mon Aug 18, 2008 4:26 pm
by pelsar
i've got this semi developed webyeb website online...with content. I've now noticed that some of my pages need to be changed. So i download the entire site to my local php/server/ xampp

...open the various pages....and no content is there. This is no good because if i change the page design and upload i'll lose all the content that has already been placed.

so...where is the content? and why doesnt it show up "locally"?

Posted: Tue Aug 19, 2008 8:09 am
by johannes
When you transfer a site from one server to another you simply need to also transfer the webyep-system folder including its data subfolder and the WebYep content should show up - you just might need to set the data subfolder's permissions on the new server, so WebYep (PHP) can write to it.

But: Often when you move the site from one server to another, you also move it to/from some subfolder. So a page that before was addressed via
http://www.oldserver.example/somepage.php
is now addressed via
http://www.newserver.example/subfolder/somepage.php

So the path changes from "/somepage.php" to "/subfolder/somepage.php".

WebYep recognizes the pages by their path. The connection from a page to its WebYep data is created by a unique document ID and this document ID is assigned to the path of the page.

If the path changes, the document ID changes and thus its a new page for WebYep - with new (empty) data.

But this path-to-document-ID relation can be edited easily: Open the file webyep-system/data/documents in some text editor. It contains lines with pairs of path and document ID.

Simply edit the path of each page to reflect the new location and the WebYep data will re-appear.

makes sense..but which folder...

Posted: Thu Aug 21, 2008 2:19 am
by pelsar
But: Often when you move the site from one server to another, you also move it to/from some subfolder. So a page that before was addressed via
http://www.oldserver.example/somepage.php
is now addressed via
http://www.newserver.example/subfolder/somepage.php

So the path changes from "/somepage.php" to "/subfolder/somepage.php".

WebYep recognizes the pages by their path. The connection from a page to its WebYep data is created by a unique document ID and this document ID is assigned to the path of the page.

If the path changes, the document ID changes and thus its a new page for WebYep - with new (empty) data.

But this path-to-document-ID relation can be edited easily: Open the file webyep-system/data/documents in some text editor. It contains lines with pairs of path and document ID.

Simply edit the path of each page to reflect the new location and the WebYep data will re-appear.


makes sense..but i cant seem to find the specific folder with all of those links. I've downloaded the entire site...in fact on my computer (local) its finding the older files....i'm guessing that the older content is probably still within the data folder, but that still doesnt explain why downloading the entire site would cause that to happen....

Posted: Thu Aug 21, 2008 4:53 pm
by johannes
Please state the exact URLs you are accessing a page on the server and on your local machine.

Re: moving .php files and the page designs.....

Posted: Wed Feb 27, 2019 1:40 pm
by wetam
Forums of the new data base are calculated for the indication of the terms. The route of the success and bestessay uk ase approved for the people. The judgment is spent for the formation of the quite good items for the humans and agents of the current department.