Welcome To myPHPNuke.com

  Create An Account Home  ·  Topics  ·  Stats  ·  Your Account  ·  Submit News  ·  Top 10 May 19, 2013  

  Main Menu

  Just SOME MPN Driven Sites!!

  What Is myPHPNuke?
myPHPNuke Introduction
Would you like to contribute to our website or software?

Just Click Here and tell us about yourself.

General Questions
Topic: myyp modify links


Search Forums

Moderated By: Kiril, avw, Doyley3731
myPHPNuke.com Forum Index
  »» General Questions
    »» myyp modify links

Please Register To Post

Page 1 Of 3



Go To Page: 1 · 2 · 3  
Jump To Page:

Author myyp modify links

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2006-03-25 18:25

Running latest mpn version
PHP 4.3.10
MySQL 4.0.25-standard

For some strange reason my myyp modify links are suddenly not functioning.

I get a !!!Fatal Error!!! stating Registered Users Only when I use the 'Modify Link' function from the biz detail...I'm logged in as admin... Or, when I use the modify link when logged in as admin, the browser goes into a spin not arriving at any page but constantly finding. The same result when trying to modify from module biz id number...the browser keeps reloading, not finding anything, just constantly reloading.

Everything else on the site seems to be functioning normally.

Would be grateful for some advice.

Regards.


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2006-03-25 19:00

I logged in as a user and sent a request to modify the link.

I logged in as admin and accepted to update the link. It refused update stating Error Code: 0013 ERROR: Could not query the database. Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's....etc. I then deleted the request.

I logged in back as user and sent in a fresh modification request without any apostrophes. Again logged in as admin and accepted the modification. This time it went through.

The only factor here was that it did not follow para tags...so the modification appeared as one big para.


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

avw
MPN Developer
Joined: 07-Nov-2001
Posts: 1300
From: Houten


netherlands    avatar

posticon   Posted: 2006-03-26 03:23

An answer to your first message...

You can only add businesses when logged in as a user. So, being logged in as admin but not as a user can show you the first error message. It sounds reasonable that you have to be logged in as a user to add or modify links.



  Member Information For avwProfile   Send Private Message To avw   Go To avw's Website   Send ICQ Meesage To avw   Send AIM Meesage To avw   Send YIM Message To avw   Quote And Reply To This MessageQuote

avw
MPN Developer
Joined: 07-Nov-2001
Posts: 1300
From: Houten


netherlands    avatar

posticon   Posted: 2006-03-26 03:27

I can imagine that paragraph tags gets stripped by the sanitizer. Did you try to use line breaks?



  Member Information For avwProfile   Send Private Message To avw   Go To avw's Website   Send ICQ Meesage To avw   Send AIM Meesage To avw   Send YIM Message To avw   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2006-03-26 06:18

1.

!!! QUOTE !!!

You can only add businesses when logged in as a user


If submitted by a user, it requires admin approval. However, an admin can include a business, and should also be able to modify it, as the admin side module also indicates, which I cannot do as admin in my case.

2.

!!! QUOTE !!!

Did you try to use line breaks?


Yes, as a user, I submitted a request to modify with line break tags but those didn't work either, when I approved the request as admin.


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

Administrator
Moderator

posticon   Posted: 2006-03-26 19:00

log in as admin and user



  Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2006-03-26 19:08

Thanks.

However, wondering why this link is not working.

!!! CODE !!!

http://www.mysite.com/admin.php?fct=myyp&op=modBiz&bid=x


Regards


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

avw
MPN Developer
Joined: 07-Nov-2001
Posts: 1300
From: Houten


netherlands    avatar

posticon   Posted: 2006-03-26 23:46

Well, that link does work here at myphpnuke.com. I replaced the x with a random number and it showed me the Edit business page for an unknown/non-existing company (that's caused by the random number).

So, the link should work. I am logged in as user AND admin at the same time.

Do you get a particular error message when you use this type of link at your site?



  Member Information For avwProfile   Send Private Message To avw   Go To avw's Website   Send ICQ Meesage To avw   Send AIM Meesage To avw   Send YIM Message To avw   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2006-03-27 04:01

The browser keeps reloading....not finding any page....just reloading every second or so.

Sometimes, after I stop the process and refresh the page, part of the page loads after a few tries....but not the entire page.

Regards


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

avw
MPN Developer
Joined: 07-Nov-2001
Posts: 1300
From: Houten


netherlands    avatar

posticon   Posted: 2006-03-28 01:11

The fact that these things suddenly have started make me think of a change to the webserver or PHP version. Are you sure that nothing of your server setup has changed?

Does the reloading of that page occur for every business that you want to change or only one? Is the record for that business visible in the database via phpMyAdmin?



  Member Information For avwProfile   Send Private Message To avw   Go To avw's Website   Send ICQ Meesage To avw   Send AIM Meesage To avw   Send YIM Message To avw   Quote And Reply To This MessageQuote

Moderated By: Kiril, avw, Doyley3731
myPHPNuke.com Forum Index
  »» General Questions
    »» myyp modify links

Please Register To Post

Page 1 Of 3



Go To Page: 1 · 2 · 3  
Jump To Page:


Member Messages

Forum Search & Navigation


 

Log in to check your private messages



Please Login Or Register





  


 

[ Advanced Search ]

Jump To Forum: 



  ChatBox II
smartvicky >  
sailwell >  hi
sailwell >  any body in?
sailwell >  i have instalation problem
sailwell >  any one help me
duke-leto >  kiril are you on here?
santeriablooms29 >  hello good day....



Click here to open the chatbox...
0 people chatting right now.