31
dizzymarkus
Re: Moving to new host problems

Howdy,
(Just to check the path)

Copy / paste this code into your editor and save as "get.php"


<?php 
echo str_replace('\','/',getcwd()); 
?>


upload to your root then run :

http://www.YOURSITE.COM/get.php

this will return the full script path.

Make sure it in the root and remove it when your done. If you put it in the module folder and call it up it will give you the path to that module etc. So please make sure the get.php is in the root.
Good luck,

Markus



32
dizzymarkus
Re: user.php

Yes I had gotten this solved but it was a year ago and dont remember much of it lol. What is it that you are trying to do?

Markus



33
dizzymarkus
Re: Ready to Upload

Goto mainfile.php and change the script address to what it is now -- should be in the top few lines. If you dont know the script address upload to root the php I will attach...--then got to

http://www.YOURSITE.com/get.php

copy the address that appears and paste it into the mainfile.php-- save changes.


Second (DB)

I dont use any programs to backup my db-- its actually pretty easy just using phpadmin. Im not sure but someone my have an easier way but this works great for me.

I use wamp not xamp but am sure the process is the same.

Goto phpadmin (LOCAL) to your db and click export. Make sure all tables are selected ( top left here-- cntrl click to multi select )
or use the check all check box at the bottom. tick the box that says "save as file" I name it the same as my production db name. The prefixs should remain the same I believe. IE xoops_users, -- xoops_groups etc. Save to "desktop-- or wherever you like)

I then install a fresh copy of XOOPS --PRODUCTION server--( solveing your script path stuff lol) go into php admin and remove all tables inside of the new db goto sql and paste the sql code from the file you save. (((( open sql file in wordpad if ya like)))))

you wont need to copy this part ---------------------------

-- phpMyAdmin SQL Dump
-- version 2.8.2.4
--http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 30, 2006 at 09:18 PM
-- Server version: 5.0.24
-- PHP Version: 5.1.6
--
-- Database: `your_db_name`
--

-- --------------------------------------------------------


but copy the rest and paste it in. poof right where you were when you left off.I hope this is enough to help you. Its really pretty simple once you have done it once or twice. If your sql gives you problems depending ont he size of your db do it in sections. :0)

Markus


I cant attach so heres the get.php just paste it into your editor and save as get.php-----

<!----------------------get.php script-------------------->

<?php
echo str_replace('\\','/',getcwd());
?>

<!-----------------------end_code------------------------->



34
dizzymarkus
Re: banner links not working

well I'll be ------ you know what lol


To start I had no links embedded into the flash :0) -- because I thought XOOPS did it for me in admin - thank you


Second I got it working and what I did is still a mystery. Somehow in the transition from localhost to production, something went haywire lol--- so I made all new banners and clients, embedded my links in the swf files and the click url in admin to the same.Poof working -- unsure if its admin linking or the embedded link but anhwho its working.


Thanks to all the had responses and helped me threw this. All 100 kids thank you too lol


Markus



35
dizzymarkus
Re: banner links not working

bump anyone else? thanks alot

Markus



36
dizzymarkus
Re: banner links not working

Ok have dont that :

cleared out /templates_c except index.html
cleared out /cache I had no "profilefields.tmp" I did have a "adminmenu.php" which I left :0)

If I log in as the banner owner it displays and responds to the right link thats shown. Just not when displayed in the header? Heres another wierd thing now that I am in here lol -- when loggin in as the banner client and choose change to change the click url it says "taking you back to where you were" and it doesnt change it, I have to relog in also to be where I was. Permission problem?

Here is a test account you may log into and see what I am trying to explain, and thank you greatly for all help thus far. :0)


Thank you,
Markus

http://www.ocqmc.com/banners.php

log in

banner client ------- demo
client password------ midgets thanks again!



37
dizzymarkus
Re: banner links not working

Ok heres where I am at now lol--

I have checked the db and all links appear to have changed to what I want -- still after refreshing everything it goes to localhost. I removed all the banners and clients-- and started fresh-- same thing arrrrrgggg! What am I doing wrong here it seems simple enough lol. Anyone else run into this problem? Can i reinstall something to check it that way?

ERRRR their not even working on my localhost with the links changed. On to more messing with it lol If i get the answer soon I will post it for others incase the same problem arises.

Thanks greatly,
Markus



38
dizzymarkus
Re: banner links not working

soo sorry I just turned them off for a sec -- had page loading problems with a certain theme. They should be up again.

Thank you,
Markus



39
dizzymarkus
banner links not working

Howdy all,

I have uploaded a few banners and they rotate fine as well as letting the client log on to view stats. Heres where the problem comes in. The orginal work was done locally hence "localhost". I have set the banners click url to what I want but no matter what I enter then seem to default tohttp://localhost/ocqmc (which was the local address)

I have cleared out the templates_c folder, updated template and checked everywhere but its mysterious lol, it always tries to take me to the above. Any help or hints would be greatly appreciated and I would be grateful.
Thank you,
Markus

You may see for yourself what I mean here
http://www.ocqmc.com

Sure its something silly -- Thank you



40
dizzymarkus
Re: vlweather module question please

Thank you for the speedy response. I am aware of the html code for links and believe the problem is it interacts with the php. Here I will try to give a clearer example of what I am trying to do. Thank you----

The extra slash before and after are where I think I am messing it up, also the " . $icao . ".html " part. ------




red = extra slashs

blue= string in question




$forecasturl $bweather->get_forecast_url();
    echo 
"<p><a href=[b][color=CC0000][/color][/b]""[b][color=0000FF] . $forecasturl . [/color][/b]"[b][color=CC0000][/color][/b]">"[b][color=0000FF]. _VL_MN_FFYL . [/color][/b]"</a></p>";
    echo 
"<p><a href="http://weather.noaa.gov/weather/current/" . $icao . ".html">" . _VL_MN_DCFYL . "</a></p>";
    
echo "<p><a href="http://www.nws.noaa.gov/sat_tab.html">" . _VL_MN_USSAT . "</a></p>";
    
echo "<p><a href="http://www.nws.noaa.gov/radar_tab.html">" . _VL_MN_CUSRI . "</a></p>";
    
echo "<p><a href="http://www.nws.noaa.gov/">" . _VL_MN_CUSWW . "</a></p>";
    
echo "<p><a href="http://www.hpc.ncep.noaa.gov">" . _VL_MN_VUSWM . "</a></p>";

    
if (!empty($metar)) {

        echo 
"<p>" _VL_MN_RAWM " <code>"$bweather->get_metar() . "</code></p>n";

    }
    echo 
"<p><a href="http://tgftp.nws.noaa.gov/pub/data/observations/metar/decoded/" . $icao . ".TXT">" . _VL_MN_DECM . "</a></p>";
}

Can I just remove those lines and replace with a simple html link without screwing up the php code for the other links? if so could you give an example please ? thank you. ----->

<ahref="http://www.erh.noaa.gov/forecast/MapClick.php?CityName=Fulton&state=NY&site=BUF" target="_blank">"Your Local Forecast"</a>


even tho it says BUF at the end the -----CityName=Fulton&state=NY&site ------string pulls the right city up.

Now if I paste that link directly it gives me an error try it lol
It seems I have to go to buffalo then to fulton -- why?

Can I just get ride of all those links etc and just use all my own html links wthout messing the code up?


Thank you greatly for your time,
Markus




TopTop
« 1 2 3 (4) 5 6 7 ... 11 »



Login

Who's Online

284 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 284


more...

Donat-O-Meter

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

Latest GitHub Commits